]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 3533: Cache still valid after HTTP/1.1 303 See Other
authorGarri Djavadyan <garryd@comnet.uz>
Wed, 30 Nov 2016 22:33:32 +0000 (11:33 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 30 Nov 2016 22:33:32 +0000 (11:33 +1300)
RFC7231 does not mention 303 response as non-cacheable.
So, assuming that means it *is* cacheable.

src/http.cc

index 06bbf0ecf5303dc0185db1007b549c58dff18f01..59dd308c9fe9569575a01f86affdc155d2f52618 100644 (file)
@@ -203,6 +203,8 @@ httpMaybeRemovePublic(StoreEntry * e, Http::StatusCode status)
 
     case Http::scFound:
 
+    case Http::scSeeOther:
+
     case Http::scGone:
 
     case Http::scNotFound: