diff options
author | Daniel Stenberg <daniel@haxx.se> | 2007-02-12 21:13:47 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2007-02-12 21:13:47 +0000 |
commit | 28b932fb4ef14b8b9ebda6823c98fbedad6be4b2 (patch) | |
tree | 3398b7e7ae05437ee9e29168212ec6c215d299c3 /include | |
parent | a63174114193addcc147d8de8e71b66568e77639 (diff) | |
download | curl-28b932fb4ef14b8b9ebda6823c98fbedad6be4b2.tar.gz |
- Shmulik Regev fixed so that the final CRLF of HTTP response headers are sent
to the debug callback.
- Shmulik Regev added CURLOPT_HTTP_CONTENT_DECODING and
CURLOPT_HTTP_TRANSFER_DECODING that if set to zero will disable libcurl's
internal decoding of content or transfer encoded content. This may be
preferable in cases where you use libcurl for proxy purposes or similar. The
command line tool got a --raw option to disable both at once.
Diffstat (limited to 'include')
-rw-r--r-- | include/curl/curl.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h index 2c79f7dac..e911fca5a 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -1058,6 +1058,11 @@ typedef enum { CINIT(TIMEOUT_MS, LONG, 155), CINIT(CONNECTTIMEOUT_MS, LONG, 156), + /* set to zero to disable the libcurl's decoding and thus pass the raw body + data to the appliction even when it is encoded/compressed */ + CINIT(HTTP_TRANSFER_DECODING, LONG, 157), + CINIT(HTTP_CONTENT_DECODING, LONG, 158), + CURLOPT_LASTENTRY /* the last unused */ } CURLoption; |