You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Quality values are not taken into consideration when parsing the Accept-Encoding request header field. The encoding chosen depends on the ordering in the ContentCoding enum:
4. If multiple content-codings are acceptable, then the acceptable
content-coding with the highest non-zero qvalue is preferred.
Though, within a note RFC 7231 also mentions that
Note: Most HTTP/1.0 applications do not recognize or obey qvalues
associated with content-codings. This means that qvalues might
not work and are not permitted with x-gzip or x-compress.
Actually I'm not sure if this issue is a bug or rather a feature request. Though, I think that it would be a reasonable improvement. Would you accept a PR?
The text was updated successfully, but these errors were encountered:
Quality values are not taken into consideration when parsing the
Accept-Encoding
request header field. The encoding chosen depends on the ordering in theContentCoding
enum:aiohttp/aiohttp/web_response.py
Lines 51 to 58 in cd5c48a
and
aiohttp/aiohttp/web_response.py
Lines 333 to 338 in cd5c48a
However, RFC 7231, section 5.4.3 states
Though, within a note RFC 7231 also mentions that
Actually I'm not sure if this issue is a bug or rather a feature request. Though, I think that it would be a reasonable improvement. Would you accept a PR?
The text was updated successfully, but these errors were encountered: