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


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


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


Returns "OK" on success.


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