Lines Matching refs:name
230 /* Find the end of the header name */
1054 anyway, which basically means our name+password isn't
1457 /* RFC2616, section 4.2 says: "Each header field consists of a name followed
1748 const char *name, *value;
1752 * 1. setting only 'name:' to suppress a header from being sent
1753 * 2. setting only 'name;' to send an empty (illegal) header
1757 name = headers->data;
1780 name = headers->data;
1797 DEBUGASSERT(name && value);
1801 hd_name_eq(name, namelen, STRCONST("Host:")))
1805 hd_name_eq(name, namelen, STRCONST("Content-Type:")))
1809 hd_name_eq(name, namelen, STRCONST("Content-Type:")))
1814 hd_name_eq(name, namelen, STRCONST("Content-Length:")))
1819 hd_name_eq(name, namelen, STRCONST("Connection:")))
1822 hd_name_eq(name, namelen, STRCONST("Transfer-Encoding:")))
1825 else if((hd_name_eq(name, namelen, STRCONST("Authorization:")) ||
1826 hd_name_eq(name, namelen, STRCONST("Cookie:"))) &&
1834 result = Curl_dynhds_add(hds, name, namelen, value, valuelen);
2148 data->state.first_host = strdup(conn->host.name);
2159 strcasecompare(data->state.first_host, conn->host.name))) {
2161 /* If we have a given custom Host: header, we extract the host name in
2164 redirected request is being out on thin ice. Except if the host name
2202 /* When building Host: headers, we must put the host name within
2203 [brackets] if the host name is a plain IPv6-address. RFC2732-style. */
2204 const char *host = conn->host.name;
2247 host is a IDN-name, we must make sure that the request we produce only
2248 uses the encoded host name! */
2257 if(conn->host.dispname != conn->host.name) {
2258 uc = curl_url_set(h, CURLUPART_HOST, conn->host.name, 0);
2783 data->state.aptr.cookiehost : conn->host.name;
2806 add = strlen(co->name) + strlen(co->value) + 1;
2809 "'%s' not sent", co->name);
2814 co->name, co->value);
3221 conn->conn_to_host.name, conn->conn_to_port);
3619 /* If there is a custom-set Host: name, use it here, or else use real peer
3620 host name. */
3622 data->state.aptr.cookiehost:conn->host.name;
3720 Curl_hsts_parse(data->hsts, conn->host.name,
3747 id, conn->host.name,
4811 const char *name;
4824 static bool h2_non_field(const char *name, size_t namelen)
4831 strcasecompare(H2_NON_FIELD[i].name, name))
4892 if(!h2_non_field(e->name, e->namelen)) {
4893 result = Curl_dynhds_add(h2_headers, e->name, e->namelen,