From 8e4fb01e64bee1893452f25873758cb856898d84 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 14 Apr 2011 22:45:42 +0200 Subject: 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. --- tests/data/test1125 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/data/test1125') diff --git a/tests/data/test1125 b/tests/data/test1125 index e4d116cac..1883734d9 100644 --- a/tests/data/test1125 +++ b/tests/data/test1125 @@ -48,7 +48,7 @@ http HTTP GET transfer-encoding with custom Connection: -http://%HOSTIP:%HTTPPORT/1125 -H "TE: gzip" -H "Connection: close" +http://%HOSTIP:%HTTPPORT/1125 --tr-encoding -H "Connection: close" -- cgit v1.2.3