httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From grega...@apache.org
Subject svn commit: r159410 - httpd/httpd/trunk/server/protocol.c
Date Tue, 29 Mar 2005 18:24:47 GMT
Author: gregames
Date: Tue Mar 29 10:24:46 2005
New Revision: 159410

URL: http://svn.apache.org/viewcvs?view=rev&rev=159410
Log:
clone_headers_no_body: remove all entity headers in addition to the 
Transfer-Encoding header when creating a GET subrequest


Modified:
    httpd/httpd/trunk/server/protocol.c

Modified: httpd/httpd/trunk/server/protocol.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/server/protocol.c?view=diff&r1=159409&r2=159410
==============================================================================
--- httpd/httpd/trunk/server/protocol.c (original)
+++ httpd/httpd/trunk/server/protocol.c Tue Mar 29 10:24:46 2005
@@ -996,10 +996,16 @@
                                   const request_rec *r)
 {
     rnew->headers_in = apr_table_copy(rnew->pool, r->headers_in);
+    apr_table_unset(rnew->headers_in, "Content-Encoding");
+    apr_table_unset(rnew->headers_in, "Content-Language");
     apr_table_unset(rnew->headers_in, "Content-Length");
-    apr_table_unset(rnew->headers_in, "Transfer-Encoding");
+    apr_table_unset(rnew->headers_in, "Content-Location");
+    apr_table_unset(rnew->headers_in, "Content-MD5");
+    apr_table_unset(rnew->headers_in, "Content-Range");
     apr_table_unset(rnew->headers_in, "Content-Type");
-    apr_table_unset(rnew->headers_in, "Content-Encoding");
+    apr_table_unset(rnew->headers_in, "Expires");
+    apr_table_unset(rnew->headers_in, "Last-Modified");
+    apr_table_unset(rnew->headers_in, "Transfer-Encoding");
 }        
 
 /*



Mime
View raw message