]> granicus.if.org Git - curl/commit
HTTP: add support for gzip and deflate Transfer-Encoding
authorDaniel Stenberg <daniel@haxx.se>
Tue, 5 Apr 2011 21:24:52 +0000 (23:24 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 18 Apr 2011 17:46:21 +0000 (19:46 +0200)
commit0790b2791091ca46bed3813dc7d04cd3f30e5dac
treec7023b24a9242cf2b7b1af7b19bf49b853218d3d
parente80b957789a93b480ec56c19b1be298394f1ce9c
HTTP: add support for gzip and deflate Transfer-Encoding

Transfer-Encoding differs from Content-Encoding in a few subtle ways,
but primarily it concerns the transfer only and not the content so when
discovered to be compressed we know we have to uncompress it. There will
only arrive compressed transfers in a response after we have requested
them with the appropriate TE: header.

Test case 1122 and 1123 verify.
lib/http.c
lib/url.c
lib/urldata.h
tests/data/Makefile.am
tests/data/test1122 [new file with mode: 0644]
tests/data/test1123 [new file with mode: 0644]