From cc7c3c84e1f893e61f589c07c8f685a1c9018586 Mon Sep 17 00:00:00 2001 From: wessels <> Date: Sat, 5 May 2007 06:16:32 +0000 Subject: [PATCH] Add HTTP status codes 416 and 417 to the list that Squid knows about. Adding these new status codes to HttpStateData::cacheableReply() --- src/http.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/http.cc b/src/http.cc index c870511496..f1e95323c3 100644 --- a/src/http.cc +++ b/src/http.cc @@ -1,6 +1,6 @@ /* - * $Id: http.cc,v 1.518 2007/04/30 16:56:09 wessels Exp $ + * $Id: http.cc,v 1.519 2007/05/05 00:16:32 wessels Exp $ * * DEBUG: section 11 Hypertext Transfer Protocol (HTTP) * AUTHOR: Harvest Derived @@ -558,6 +558,8 @@ HttpStateData::cacheableReply() case HTTP_LOCKED: case HTTP_FAILED_DEPENDENCY: case HTTP_INSUFFICIENT_STORAGE: + case HTTP_REQUESTED_RANGE_NOT_SATISFIABLE: + case HTTP_EXPECTATION_FAILED: return 0; -- 2.47.2