]> 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>
Mon, 14 Nov 2016 13:17:06 +0000 (02:17 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 14 Nov 2016 13:17:06 +0000 (02:17 +1300)
RFC7231 does not mention 303 response as non-cacheable.
So, assuming that means it *is* cacheable.

src/http.cc

index 734dbcac549d42e2ba15bc13162d8df408b969aa..ca61909e12ea0aee91e3f15e13a75e902869ce04 100644 (file)
@@ -202,6 +202,8 @@ httpMaybeRemovePublic(StoreEntry * e, Http::StatusCode status)
 
     case Http::scFound:
 
+    case Http::scSeeOther:
+
     case Http::scGone:
 
     case Http::scNotFound: