Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

CURL.SetOptionHTTPTransferDecoding

Sets how to act on transfer decoding.

Component Version macOS Windows Linux Server iOS SDK
CURL 2.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "CURL.SetOptionHTTPTransferDecoding"; curl; Value )   More

Parameters

Parameter Description Example
curl The CURL session handle. $curl
Value Whether to decode. 1

Result

Returns "OK" on success.

Description

Sets how to act on transfer decoding.
If set to zero, transfer decoding will be disabled, if set to 1 it is enabled (default). libcurl does chunked transfer decoding by default unless this option is set to zero.

See also HTTP_TRANSFER_DECODING option in CURL manual.

See also

Created 18th August 2014, last changed 18th August 2014


CURL.SetOptionHTTPProxyTunnel - CURL.SetOptionHTTPVersion