]> granicus.if.org Git - apache/commitdiff
* modules/proxy/proxy_http.c (ap_proxy_http_process_response): Don't treat
authorJoe Orton <jorton@apache.org>
Thu, 11 Nov 2004 20:06:20 +0000 (20:06 +0000)
committerJoe Orton <jorton@apache.org>
Thu, 11 Nov 2004 20:06:20 +0000 (20:06 +0000)
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

index 91b7875bf24bee2d293362ca04883232d98dfaa8..dd28d3170c5fd71ffb9b2cc8191857d1331bd818 100644 (file)
@@ -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);
            }