netty/netty — Issue #164: HttpContentEncoder/Decoder accepts the encoding whose qvalue is 0
Author: trustin
Created: 2012-01-27 08:27:40+00:00
State: open

The following accept-encoding headers have 0 qvalue which means 'do not accept', but Netty does not handle qvalues at all. We at least handle the case where qvalue is 0 or invalid so that we don't accept the wrong encodings.

[deflate;q=0, gzip, x-gzip, compress, x-compress]=> [gzip, x-gzip, compress, x-compress]
[identity, *; q=0]=> [identity]