Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

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

Feedback: Report problem or ask question.