Return-Path: Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: (qmail 28990 invoked from network); 29 Mar 2005 18:24:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Mar 2005 18:24:55 -0000 Received: (qmail 71862 invoked by uid 500); 29 Mar 2005 18:24:55 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 71774 invoked by uid 500); 29 Mar 2005 18:24:54 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 71761 invoked by uid 99); 29 Mar 2005 18:24:54 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 29 Mar 2005 10:24:50 -0800 Received: (qmail 28939 invoked by uid 65534); 29 Mar 2005 18:24:47 -0000 Message-ID: <20050329182447.28938.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Mailer: svnmailer-1.0.0-dev Date: Tue, 29 Mar 2005 18:24:47 -0000 Subject: svn commit: r159410 - httpd/httpd/trunk/server/protocol.c To: cvs@httpd.apache.org From: gregames@apache.org X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: gregames Date: Tue Mar 29 10:24:46 2005 New Revision: 159410 URL: http://svn.apache.org/viewcvs?view=3Drev&rev=3D159410 Log: clone_headers_no_body: remove all entity headers in addition to the=20 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= =3Ddiff&r1=3D159409&r2=3D159410 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- 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 =3D 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"); } =20 =20 /*