Name
Warning
Synopsis
Warning
:code
host
[:port
]string
Indicates additional information to that in the status code, for use by caching proxies. The host field contains the name or pseudonym of the server host, with an optional port number. The two-digit warning codes and their recommended descriptive strings are:
-
10 Response is stale
2n
The response data is known to be stale.
-
11 Revalidation failed
2n
The response data is known to be stale because the proxy failed to revalidate the data.
-
12 Disconnected operation
2n
The cache is disconnected from the network.
-
13 Heuristic expiration
2n
The data is older than 24 hours, and the cache heuristically chose a freshness lifetime greater than 24 hours.
-
14 Transformation applied
2n The proxy has changed the encoding or media type of the document, as specified by the
Content-Encoding
orContent-Type
headers.-
99 Miscellaneous warning
2n Arbitrary information to be logged or presented to the user.
Get Webmaster in a Nutshell, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.