You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by gr...@apache.org on 2005/03/29 20:24:47 UTC
svn commit: r159410 - httpd/httpd/trunk/server/protocol.c
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");
}
/*