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: 12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    Statistic    FMM    Blog  

CURL.SetOptionHTTPContentDecoding

Sets how to act on content decoding.

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

Parameters

Parameter Description Example
curl The CURL session handle. $curl
Value Whether to do content decoding. 1

Result

Returns "OK" on success.

Description

Sets how to act on content decoding.
If set to zero, content decoding will be disabled. If set to 1 it is enabled. Libcurl has no default content decoding but requires you to use CURLOPT_ENCODING for that.

See also HTTP_CONTENT_DECODING option in CURL manual.

See also

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


CURL.SetOptionHTTPAuth - CURL.SetOptionHTTPHeader

💬 Ask a question or report a problem