103 Early Hints

The 103 Early Hints informational status code indicates to the client that the server is likely to send a final response with the header fields included in the informational response [1].

Typically, a server will include the header fields sent in a 103 (Early Hints) response in the final response as well. However, there might be cases when this is not desirable, such as when the server learns that the header fields in the 103 (Early Hints) response are not correct before the final response is sent [2].

A client can speculatively evaluate the header fields included in a 103 (Early Hints) response while waiting for the final response. For example, a client might recognize a Link header field value containing the relation type “preload” and start fetching the target resource. However, these header fields only provide hints to the client; they do not replace the header fields on the final response [3].

Aside from performance optimizations, such evaluation of the 103 (Early Hints) response’s header fields MUST NOT affect how the final response is processed. A client MUST NOT interpret the 103 (Early Hints) response header fields as if they applied to the informational response itself (e.g., as metadata about the 103 (Early Hints) response) [4].

A server MAY use a 103 (Early Hints) response to indicate only some of the header fields that are expected to be found in the final response. A client SHOULD NOT interpret the nonexistence of a header field in a 103 (Early Hints) response as a speculation that the header field is unlikely to be part of the final response [5].

References

We like to give credit where credit is due. This article contains 1 reference with a total of 5 citations.

  1. [1] [2] [3] [4] [5] Oku, Kazuho. "2. HTTP Status Code 103: Early Hints." Early Hints, IETF Trust, 1 Dec. 2017, tools.ietf.org/html/rfc8297#section-2

Notify me about new features:

upcoming free account access, charts & stats, historical data, API, etc.

* All fields required.
follow: Twitter

© 2008-2021 WhereGoes.com