Lines Matching refs:header

193  *               present in the best matching Accept header element.
214 * appropriate header lines, except for source_quality, which
270 int send_alternates; /* 1 if we want to send an Alternates header */
334 * when creating the etag header
342 * HTTPD header lines and elsewhere.
506 * Dealing with header lines ...
562 * Handling header lines from clients...
619 * Alternates header to the user agent by default. User
620 * agents that want an Alternates header for agent-driven
622 * appropriate Negotiate header.
636 * ignore the negotiate header when its contents are exactly "trans".
662 * negotiate header.
678 /* We disable header fiddles on the assumption that a
736 /* Reading RFC822-style header lines, ignoring #-comments and
768 /* If non-blank, go looking for header lines, but note that we still
908 /* Getting to a header body from the header */
910 static char *lcase_header_name_return_body(char *header, request_rec *r)
912 char *cp = header;
920 "Syntax error in type map, no ':' in %s for header %s",
921 r->filename, header);
931 "Syntax error in type map --- no header body: %s for %s",
932 r->filename, header);
1436 * from Accept-Language: header (HTTP/1.1)
1439 * header, if present, else LanguagePriority
1511 * header. The 'best' match is the language on Accept-Language
1512 * header which matches the language of this variant either fully,
1514 * match, use the longest string from the Accept-Language header
1519 * one with the highest q value. Because both the accept-header
1532 * of the languages on the Accept-Language header, or the
1555 return; /* no accept-language header */
1563 * Accept-Language header. The best match is the longest
1564 * matching language on the header. The final result is the
1570 /* no accept-language header makes the variant indefinite */
1594 * Accept-Language header language. We put the best match
1598 * header, not necessarily the highest q.
1609 * from the accept header, or a prefix of the variant
1612 * header. Note that HTTP/1.x allows any number of
1618 * header the best match for the variant language tag
1648 * the Accept-Language header. Note that this
1669 * header. If so, record this fact for later use
1766 /* For a given variant, find the best matching Accept: header
1767 * and assign the Accept: header's quality value to the
1779 /* if no Accept: header, leave quality alone (will
1794 * Go through each of the ranges on the Accept: header,
1797 * value (from the Accept: header) for this variant's
1824 * and have no explicit q= parameters in the accept header,
1859 /* if no Accept-Charset: header, leave quality alone (will
1880 /* Don't go guessing if we are in strict header mode,
1891 * Go through each of the items on the Accept-Charset header,
1938 * any Accept-Encoding header, then all encodings are allowed but a
1940 * If there is an empty Accept-Encoding header, then no encodings are
1941 * acceptable. If there is a non-empty Accept-Encoding header, then
1954 /* We had no Accept-Encoding header, assume that all
1973 /* Go through each of the encodings on the Accept-Encoding: header,
2003 /* Encoding not found on Accept-Encoding: header, so it is
2032 * for generating a correct Vary header, and can be used for the
2033 * Alternates header, the human-readable list responses and 406 errors.
2351 * prepares for sending an Alternates header etc so we need to
2357 * the Accept-Language header
2434 * The Vary header we create is sometimes longer than is required for
2437 * the Accept: header assigns a 0 quality to .ps, then the results of
2442 * computing the exact minimal Vary header would be a huge pain to code
2619 if (neg->is_transparent) { /* Create TCN response header */
2783 /* This adds an appropriate Variant-Vary header if the subrequest
2786 * XXX: TODO: Note that this does _not_ handle any Vary header
2788 * see that Vary header yet at this point in the control flow.
2790 * CGI script also returns a Cache-Control header marking the
2792 * problems if a CGI returns an Etag header which also need to be
2798 /* Move the subreq Vary header into the main request to
2884 neg->send_alternates = 1; /* always include Alternates header */
2893 * header. However the 300 code response we are are about
3162 * the following: if the client sent an Accept-Encoding header and it
3165 * the A-E header contains the x- token use the x- token in the C-E
3166 * header. Else don't do anything.
3168 * Note that if no A-E header was sent, or it does not contain a token
3170 * C-E header will be whatever was specified in the AddEncoding