http2: rely on content-encoding header
authorFabian Frank <fabian@pagefault.de>
Wed, 5 Feb 2014 08:21:16 +0000 (00:21 -0800)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 5 Feb 2014 09:26:12 +0000 (10:26 +0100)
commit133cdd29ea059f6596b387878ce3bc60d501c798
tree54014308fa1b32e618665b286d4f88818e01da3a
parentff0547e70e5431a462b0712f68e5e98fb8ae572f
http2: rely on content-encoding header

A server might respond with a content-encoding header and a response
that was encoded accordingly in HTTP-draft-09/2.0 mode, even if the
client did not send an accept-encoding header earlier. The server might
not send a content-encoding header if the identity encoding was used to
encode the response.

See:
http://tools.ietf.org/html/draft-ietf-httpbis-http2-09#section-9.3
lib/http.c
lib/http2.c