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


Whether to include headers in output.

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


Parameter Description Example
curl The CURL session handle. $curl
Value 0 to disable or 1 to enable 1


Returns "OK" on success.


Whether to include headers in output.
A parameter set to 1 tells curl to include the header in the body output.
This is only relevant for protocols that actually have headers preceding the data (like HTTP).

For HTTP headers, please use CURL.SetOptionHTTPHeader function.

See also HEADER option in CURL manual.

See also

Blog Entries

Created 18th August 2014, last changed 21st June 2019

CURL.SetOptionHappyEyeballsTimeOutMS - CURL.SetOptionHeaderOptions