transfer-encoding: added new option and cmdline
authorDaniel Stenberg <daniel@haxx.se>
Thu, 14 Apr 2011 20:45:42 +0000 (22:45 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 18 Apr 2011 17:46:21 +0000 (19:46 +0200)
commit8e4fb01e64bee1893452f25873758cb856898d84
tree8b94999d472b201d98f1d72144a10d8afc8c6675
parentebb37eac8ba8caca5282c41635e491f19fe7df48
transfer-encoding: added new option and cmdline

Added CURLOPT_TRANSFER_ENCODING as the option to set to request Transfer
Encoding in HTTP requests (if built zlib enabled). I also renamed
CURLOPT_ENCODING to CURLOPT_ACCEPT_ENCODING (while keeping the old name
around) to reduce the confusion when we have to encoding options for
HTTP.

--tr-encoding is now the new command line option for curl to request
this, and thus I updated the test cases accordingly.
docs/libcurl/symbols-in-versions
include/curl/curl.h
include/curl/typecheck-gcc.h
lib/http.c
lib/url.c
lib/urldata.h
src/main.c
tests/data/test1122
tests/data/test1123
tests/data/test1124
tests/data/test1125