Opened 7 years ago

Closed 6 years ago

#448 closed design (fixed)

Fallback for Accept-Language

Reported by: mnot@… Owned by: draft-ietf-httpbis-p2-semantics@…
Priority: normal Milestone: 23
Component: p2-semantics Severity: In WG Last Call
Keywords: Cc:

Description (last modified by mnot@…)

In p2, Accept, Accept-Charset and Accept-Encoding all have language similar to this:

A request without any Accept header field implies that the user agent will accept any media type in response. If an Accept header field is present in a request and none of the available representations for the response have a media type that is listed as acceptable, the origin server may either honor the Accept header field by sending a 406 (Not Acceptable) response or disregard the Accept header field by treating the response as if it is not subject to content negotiation.

However, Accept-Language in 5.3.5 does not. Is this intentional?

Change History (8)

comment:1 Changed 7 years ago by mnot@…

  • Description modified (diff)

comment:2 Changed 7 years ago by mnot@…

  • origin set to http://www.w3.org/mid/8741FE69-C013-4853-A9A3-6321A18E56EA@mnot.net

comment:3 Changed 7 years ago by mnot@…

  • Component changed from p1-messaging to p2-semantics
  • Owner changed from draft-ietf-httpbis-p1-messaging@… to draft-ietf-httpbis-p2-semantics@…

comment:4 Changed 7 years ago by mnot@…

  • Milestone changed from unassigned to 23

Proposal:

A request without any Accept-Language header field implies that the user agent will accept any language in response. If an Accept-Language header field is present in a request and none of the available representations for the response have a language tag that is listed as acceptable, the origin server SHOULD either disregard the Accept-Language header field by treating the response as if it is not subject to content negotiation, or honor the Accept-Language header field by sending a 406 (Not Acceptable) response. However, the latter is not encouraged, as doing so can prevent users from accessing content that they might be able to use (with translation software, for example).

comment:5 Changed 6 years ago by julian.reschke@…

From [2291]:

Add fallback discussion for Accept-Language (see #448). Also tune the statements for other Accept-* header fields (MAY->can).

comment:6 Changed 6 years ago by julian.reschke@…

  • Resolution set to incorporated
  • Status changed from new to closed

comment:7 Changed 6 years ago by mnot@…

  • Resolution incorporated deleted
  • Status changed from closed to reopened

comment:8 Changed 6 years ago by mnot@…

  • Resolution set to fixed
  • Status changed from reopened to closed
Note: See TracTickets for help on using tickets.