]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Added HTTP status code 307 (Temporary Redirect) to cacheableReply()
authorwessels <>
Tue, 8 May 2007 04:25:15 +0000 (04:25 +0000)
committerwessels <>
Tue, 8 May 2007 04:25:15 +0000 (04:25 +0000)
src/http.cc

index f1e95323c3c7f7229c140ab4dbab34d2885a2078..39997139f2032f9b508eec115190d6c123e208a5 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: http.cc,v 1.519 2007/05/05 00:16:32 wessels Exp $
+ * $Id: http.cc,v 1.520 2007/05/07 22:25:15 wessels Exp $
  *
  * DEBUG: section 11    Hypertext Transfer Protocol (HTTP)
  * AUTHOR: Harvest Derived
@@ -492,6 +492,7 @@ HttpStateData::cacheableReply()
         /* Responses that only are cacheable if the server says so */
 
     case HTTP_MOVED_TEMPORARILY:
+    case HTTP_TEMPORARY_REDIRECT:
         if (rep->expires > rep->date && rep->date > 0)
             return 1;
         else