Closed dougwilson closed 10 years ago
ya just support 1. throw on anything crazy.
Yea. We can probably let things like gzip, identity
slide, though. I see those come by sometimes.
what. why? that makes no sense. maybe strip out identity
s?
idk. It is technically correct, saying up have peel off the gzip encoding, then peel off the identity encoding (which is a no-op). It's some weird Java library that I see doing it.
Reading headers is moving to a different module, anyway, so this module does not care (it only supports a single encoding)
The
content-encoding
header is actually a comma-separated list. We could either support multiple encodings at once, or just assert that there is only one encoding and say we don't (yet) support multiple.