Lines Matching full:headers
26 CURLOPT_HTTPHEADER \- set custom HTTP headers
30 CURLcode curl_easy_setopt(CURL *handle, CURLOPT_HTTPHEADER, struct curl_slist *headers);
32 Pass a pointer to a linked list of HTTP headers to pass to the server and/or
42 disabled. With this option you can add new headers, replace internal headers
43 and remove internal headers. To add a header with no content (nothing to the
47 The headers included in the linked list \fBmust not\fP be CRLF-terminated,
50 the headers you specified.
54 following the request-line are headers. Adding this method line in this list
55 of headers will only cause your request to send an invalid header. Use
63 Pass a NULL to this option to reset back to no custom headers.
65 The most commonly replaced headers have "shortcuts" in the options
69 There's an alternative option that sets or replaces headers only for requests
73 By default, this option makes libcurl send the given headers in all HTTP
77 the headers. They may be private or otherwise sensitive to leak.
79 Use \fICURLOPT_HEADEROPT(3)\fP to make the headers only get sent to where you
82 Custom headers are sent in all requests done by the easy handles, which
84 (\fICURLOPT_FOLLOWLOCATION(3)\fP), the same set of custom headers will be sent
86 those servers will get all the contents of your custom headers too.
88 Starting in 7.58.0, libcurl will specifically prevent "Authorization:" headers
92 Starting in 7.64.0, libcurl will specifically prevent "Cookie:" headers