From: wessels <> Date: Tue, 8 May 2007 04:25:15 +0000 (+0000) Subject: Added HTTP status code 307 (Temporary Redirect) to cacheableReply() X-Git-Tag: SQUID_3_0_PRE6~19 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f18c86fdecaac6a9d3eab1bb65a67f1f56b05e59;p=thirdparty%2Fsquid.git Added HTTP status code 307 (Temporary Redirect) to cacheableReply() --- diff --git a/src/http.cc b/src/http.cc index f1e95323c3..39997139f2 100644 --- a/src/http.cc +++ b/src/http.cc @@ -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