* WGs marked with an * asterisk has had at least one new draft made available during the last 5 days

Ticket #285 (closed design: fixed)

Opened 4 years ago

Last modified 3 years ago

Strength of requirements on Accept re: 406

Reported by: mnot@pobox.com Owned by: julian.reschke@gmx.de
Priority: normal Milestone: 16
Component: p3-payload Severity: Active WG Document
Keywords: Cc:
Origin:

Description

The definition of the 406 status code allows servers to override the clients' preferences:

Note: HTTP/1.1 servers are allowed to return responses which are not acceptable according to the accept header fields sent in the request. In some cases, this might even be preferable to sending a 406 response. User agents are encouraged to inspect the header fields of an incoming response to determine if it is acceptable.

However, this isn't really reflected in the Accept-* header requirements; e.g., for Accept:

If an Accept header field is present, and if the server cannot send a response which is acceptable according to the combined Accept field value, then the server SHOULD send a 406 (Not Acceptable) response.

The SHOULD here needs to either be contextualised (perhaps by pasting in a similar note), and/or relaxed to a MAY. Likewise for other Accept-* headers.

Attachments

285.diff (5.2 KB) - added by julian.reschke@gmx.de 3 years ago.
proposed patch for p2 and p3

Change History

comment:1 Changed 3 years ago by mnot@pobox.com

  • Owner set to mnot@pobox.com
  • Status changed from new to assigned

comment:2 Changed 3 years ago by julian.reschke@gmx.de

  • Owner changed from mnot@pobox.com to julian.reschke@gmx.de
  • Status changed from assigned to new
  • Milestone changed from unassigned to 16

Changed 3 years ago by julian.reschke@gmx.de

proposed patch for p2 and p3

comment:3 Changed 3 years ago by julian.reschke@gmx.de

From [1335]:

Tune strength of requirements on Accept re: 406 (see #285)

comment:4 Changed 3 years ago by julian.reschke@gmx.de

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

comment:5 Changed 3 years ago by mnot@pobox.com

  • Status changed from closed to reopened
  • Resolution incorporated deleted

comment:6 Changed 3 years ago by mnot@pobox.com

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