From 3b18e3e6739bf4c43cc6b325e4455652a089c857 Mon Sep 17 00:00:00 2001 From: Joe Orton Date: Thu, 11 Nov 2004 20:06:20 +0000 Subject: [PATCH] * modules/proxy/proxy_http.c (ap_proxy_http_process_response): Don't treat the 205 status-code like 204 or 304, per recent http-wg discussion: http://lists.w3.org/Archives/Public/ietf-http-wg/2004JulSep/0083.html git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105752 13f79535-47bb-0310-9956-ffa450edef68 --- modules/proxy/proxy_http.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/modules/proxy/proxy_http.c b/modules/proxy/proxy_http.c index 91b7875bf2..dd28d3170c 100644 --- a/modules/proxy/proxy_http.c +++ b/modules/proxy/proxy_http.c @@ -1002,7 +1002,6 @@ apr_status_t ap_proxy_http_process_response(apr_pool_t * p, request_rec *r, if ((!r->header_only) && /* not HEAD request */ !interim_response && /* not any 1xx response */ (r->status != HTTP_NO_CONTENT) && /* not 204 */ - (r->status != HTTP_RESET_CONTENT) && /* not 205 */ (r->status != HTTP_NOT_MODIFIED)) { /* not 304 */ /* We need to copy the output headers and treat them as input @@ -1117,7 +1116,6 @@ apr_status_t ap_proxy_http_process_response(apr_pool_t * p, request_rec *r, r->status = HTTP_OK; /* Discard body, if one is expected */ if ((status != HTTP_NO_CONTENT) && /* not 204 */ - (status != HTTP_RESET_CONTENT) && /* not 205 */ (status != HTTP_NOT_MODIFIED)) { /* not 304 */ ap_discard_request_body(rp); } -- 2.40.0