Index: proxy_http.c
===================================================================
RCS file: /home/cvspublic/httpd-2.0/modules/proxy/proxy_http.c,v
retrieving revision 1.164.2.3
diff -u -r1.164.2.3 proxy_http.c
--- proxy_http.c	15 Apr 2003 16:36:16 -0000	1.164.2.3
+++ proxy_http.c	8 Jul 2003 18:24:09 -0000
@@ -992,7 +992,13 @@
              */
             int status = r->status;
             r->status = HTTP_OK;
-            ap_discard_request_body(rp);
+            /* Discard body if expected */
+            if ((status > 199) && /* not any 1xx response */
+                (status != HTTP_NO_CONTENT) && /* not 204 */
+                (status != HTTP_RESET_CONTENT) && /* not 205 */
+                (status != HTTP_NOT_MODIFIED)) { /* not 304 */
+		ap_discard_request_body(rp);
+	    }
             return status;
         }
     } else 
