MINOR: http: update the list of cacheable status codes as per RFC7231
Since RFC2616, the following codes were added to the list of codes
cacheable by default : 204, 404, 405, 414, 501. For now this it only
checked by the checkcache option to detect cacheable cookies.
diff --git a/doc/configuration.txt b/doc/configuration.txt
index a4b3652..9c22afe 100644
--- a/doc/configuration.txt
+++ b/doc/configuration.txt
@@ -5438,8 +5438,9 @@
proxy. When this option is enabled, the only responses which can be delivered
to the client are :
- all those without "Set-Cookie" header ;
- - all those with a return code other than 200, 203, 206, 300, 301, 410,
- provided that the server has not set a "Cache-control: public" header ;
+ - all those with a return code other than 200, 203, 204, 206, 300, 301,
+ 404, 405, 410, 414, 501, provided that the server has not set a
+ "Cache-control: public" header field ;
- all those that result from a request using a method other than GET, HEAD,
OPTIONS, TRACE, provided that the server has not set a 'Cache-Control:
public' header field ;