Start Dating header

Dating header

If more than one media range applies to a given type, the most specific reference has precedence.

If an Accept-Language header is present, then all languages which are assigned a quality factor greater than 0 are acceptable.

It might be contrary to the privacy expectations of the user to send an Accept-Language header with the complete linguistic preferences of the user in every request.

In this case, if "identity" is one of the available content-codings, then the server SHOULD use the "identity" content-coding, unless it has additional information that a different content-coding is meaningful to the client.

"gzip" and "compress") are preferred; some older clients improperly display messages sent with other content-codings.

If no language- range in the field matches the tag, the language quality factor assigned is 0.

If no Accept-Language header is present in the request, the server SHOULD assume that all languages are equally acceptable.

media-range = ( "*/*" | ( type "/" "*" ) | ( type "/" subtype ) ) *( ";" parameter ) accept-params = ";" "q" "=" qvalue *( accept-extension ) accept-extension = ";" token [ "=" ( token | quoted-string ) ] The asterisk "*" character is used to group media types into ranges, with "*/*" indicating all media types and "type/*" indicating all subtypes of that type.

The media-range MAY include media type parameters that are applicable to that range.

Quality factors allow the user or user agent to indicate the relative degree of preference for that media-range, using the qvalue scale from 0 to 1 (section 3.9). Note: Use of the "q" parameter name to separate media type parameters from Accept extension parameters is due to historical practice.

Although this prevents any media type parameter named "q" from being used with a media range, such an event is believed to be unlikely given the lack of any "q" parameters in the IANA media type registry and the rare usage of any media type parameters in Accept.

The special range "*", if present in the Accept-Language field, matches every tag not matched by any other range present in the Accept-Language field.