From f18c86fdecaac6a9d3eab1bb65a67f1f56b05e59 Mon Sep 17 00:00:00 2001 From: wessels <> Date: Tue, 8 May 2007 04:25:15 +0000 Subject: [PATCH] Added HTTP status code 307 (Temporary Redirect) to cacheableReply() --- src/http.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.47.2