Skip to content

Commit

Permalink
use 421 Not Authoritative as status code (#442)
Browse files Browse the repository at this point in the history
  • Loading branch information
reschke committed Mar 31, 2014
1 parent 22ab3bd commit c450d00
Showing 1 changed file with 12 additions and 14 deletions.
26 changes: 12 additions & 14 deletions draft-ietf-httpbis-alt-svc.xml
Expand Up @@ -462,33 +462,30 @@ User-Agent: Example/1.0
</figure>
</section>

<section title="The 4NN Not Authoritative HTTP Status Code" anchor="status" >
<section title="The 421 Not Authoritative HTTP Status Code" anchor="status">
<t>
The 4NN (Not Authoritative) status code indicates that the current origin
The 421 (Not Authoritative) status code indicates that the current origin
server (usually, but not always an alternative service; see <xref target="alternative"/>) is
not authoritative for the requested resource, in the sense of
<xref target="HTTP-p1" x:rel="#establishing.authority" x:fmt=","/>.
</t>
<t>
Clients receiving 4NN (Not Authoritative) from an alternative service &MUST;
Clients receiving 421 (Not Authoritative) from an alternative service &MUST;
remove the corresponding entry from its alternative service cache (see
<xref target="caching"/>) for that origin. Regardless of the idempotency of the request
method, they &MAY; retry the request, either at another alternative server, or at
the origin.
</t>
<t>
4NN (Not Authoritative) &MAY; carry an Alt-Svc header field.
421 (Not Authoritative) &MAY; carry an Alt-Svc header field.
</t>
<t>
This status code &MUST-NOT; be generated by proxies.
</t>
<t>
A 4NN response is cacheable by default; i.e., unless otherwise indicated by the
A 421 response is cacheable by default; i.e., unless otherwise indicated by the
method definition or explicit cache controls (see <xref target="HTTP-p6" x:rel="#heuristic.freshness" x:fmt="of"/>).
</t>
<t>
<cref anchor="code">We should decide on the status code before Last Call.</cref>
</t>
</section>

<section title="IANA Considerations" anchor="iana-considerations" >
Expand Down Expand Up @@ -527,16 +524,17 @@ User-Agent: Example/1.0
</t>
</section>

<section title="The 4NN Not Authoritative HTTP Status Code" anchor="the-4nn-not-authoritative-http-status-code" >
<section title="The 421 Not Authoritative HTTP Status Code" anchor="status.code.registration">
<t>
This document registers the 4NN (Not Authoritative) HTTP Status code
This document registers the 421 (Not Authoritative) HTTP Status code
in the Hypertext Transfer Protocol (HTTP) Status Code Registry
(<xref target="HTTP-p2" x:fmt="," x:rel="#status.code.registry"/>).
</t>
<t>
<list style="symbols">
<t>Status Code: 4NN</t>
<list style="empty">
<t>Status Code: 421</t>
<t>Short Description: Not Authoritative</t>
<t>Specification: [this document], <xref target="status"/></t>
<t>Specification: <xref target="status"/> of this document</t>
</list>
</t>
</section>
Expand Down Expand Up @@ -822,7 +820,7 @@ User-Agent: Example/1.0

<section title="Since draft-ietf-httpbis-alt-svc-00" anchor="changes.since.draft-ietf-httpbis-alt-svc-00">
<t>
None yet.
Selected 421 as proposed status code for "Not Authoritative".
</t>
</section>

Expand Down

0 comments on commit c450d00

Please sign in to comment.