Lines Matching defs:headers
188 * checkProxyHeaders() checks the linked list of custom proxy headers
189 * if proxy headers are not available, then it will lookup into http header
204 data->set.proxyheaders : data->set.headers;
555 * Curl_http_auth_act() gets called when all HTTP headers have been received
773 * Curl_http_output_auth() setups the authentication headers for the
906 * headers. They are dealt with both in the transfer.c main loop and in the
955 * headers have been received but then only to a single preferred method
1034 /* We call this function on input Digest headers even if Digest
1151 ** called after processing all the headers in a response
1448 * Pass headers WITH the colon.
1625 Expect: 100-continue to the headers which actually speeds up post
1649 will return an error code if one of the headers is
1709 struct curl_slist *headers;
1724 h[0] = data->set.headers;
1727 h[0] = data->set.headers;
1737 h[0] = data->set.headers;
1742 h[0] = data->set.headers;
1747 for(headers = h[i]; headers; headers = headers->next) {
1751 /* There are 2 quirks in place for custom headers:
1755 ptr = strchr(headers->data, ':');
1757 name = headers->data;
1758 namelen = ptr - headers->data;
1772 ptr = strchr(headers->data, ';');
1780 name = headers->data;
1781 namelen = ptr - headers->data;
1856 struct curl_slist *headers;
1871 h[0] = data->set.headers;
1874 h[0] = data->set.headers;
1884 h[0] = data->set.headers;
1889 h[0] = data->set.headers;
1894 headers = h[i];
1896 while(headers) {
1898 ptr = strchr(headers->data, ':');
1902 ptr = strchr(headers->data, ';');
1916 semicolonp = strdup(headers->data);
1924 semicolonp[ptr - headers->data] = ':';
1926 optr = &semicolonp [ptr - headers->data];
1932 if(ptr && (ptr != headers->data)) {
1942 char *compare = semicolonp ? semicolonp : headers->data;
1990 headers = headers->next;
2202 /* When building Host: headers, we must put the host name within
2380 /* Prepare the mime structure headers & set content type. */
2388 curl_mime_headers(data->state.mimepost, data->set.headers, 0);
2444 /* For really small puts we don't use Expect: headers at all, and for
2495 /* end of headers */
2541 kinds of headers (Transfer-Encoding: chunked and Content-Length) */
2554 /* Output mime-generated headers. */
2609 kinds of headers (Transfer-Encoding: chunked and Content-Length) */
2644 /* end of headers! */
2693 /* end of headers! */
2702 /* end of headers! */
2847 * A range is selected. We use different headers whether we're downloading
2848 * or uploading and we always let customized headers override our internal
2988 /* Abort after the headers if "follow Location" is set
3144 /* setup the authentication headers */
3781 * response code yet as that depends on what other headers may
3795 we get one of those fancy headers that tell us the
3842 figured out here after all headers have been received but before the final
3912 failf(data, "Too large response headers: %zu > %u", bad, max);
4004 /* headers are in network encoding so use 0x0a and 0x0d instead of '\n'
4010 /* Zero-length header line means end of headers! */
4025 * However, we'll get more headers now so we must get
4046 /* we'll get more headers (HTTP/2 response) */
4077 we'll get another set of headers */
4160 * When all the headers have been parsed, see if we should give
4272 * really end-of-headers.
4296 /* We continue reading headers, reset the line-based header */
4299 /* Having handled the headers, we can do the HTTP/2 switch.
4313 * Checks for special headers coming up.
4506 * HTTP protocol `write_resp` implementation. Will parse headers
4629 Curl_dynhds_init(&req->headers, 0, DYN_HTTP_REQUEST);
4787 Curl_dynhds_init(&req->headers, 0, DYN_HTTP_REQUEST);
4804 Curl_dynhds_free(&req->headers);
4869 e = Curl_dynhds_get(&req->headers, STRCONST("Host"));
4890 for(i = 0; !result && i < Curl_dynhds_count(&req->headers); ++i) {
4891 e = Curl_dynhds_getn(&req->headers, i);
4918 Curl_dynhds_init(&resp->headers, 0, DYN_HTTP_REQUEST);
4933 Curl_dynhds_free(&resp->headers);