• Home
  • Raw
  • Download

Lines Matching full:headers

26 CURLOPT_HTTPHEADER \- set of 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
72 .SH SPECIFIC HEADERS
73 Setting some specific headers will cause libcurl to act differently.
83 By default, this option makes libcurl send the given headers in all HTTP
87 the headers. They may be private or otherwise sensitive to leak.
89 Use \fICURLOPT_HEADEROPT(3)\fP to make the headers only get sent to where you
92 Custom headers are sent in all requests done by the easy handles, which
94 (\fICURLOPT_FOLLOWLOCATION(3)\fP), the same set of custom headers will be sent
96 those servers will get all the contents of your custom headers too.
98 Starting in 7.58.0, libcurl will specifically prevent "Authorization:" headers
102 Starting in 7.64.0, libcurl will specifically prevent "Cookie:" headers