You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by David kerber <dc...@verizon.net> on 2010/03/16 19:39:25 UTC

Re: apache responds with 413 for duplicate http header

Prabhat Karki wrote:
> Hello,
> I have apache installed on redhat linux. The version is below
> Server version: Apache/2.2.11 (Unix)
> This server is basically accepting requests on port 80. However if the incoming requests has duplicate http headers for the same requests the apache responds with a 413 error. In the example below the client has two Content-Length headers and as shown the response from apache is 413. All the header information is not included below for obvious reasons. Is there any config changes that can be applied to apache to ignore the duplicate headers
> 
> POST http://example.com HTTP/1.1
> Host:example.net.net:80
> User-Agent: .1
> Content-Length: 70
> Content-length: 70
> Content-Type: application/x-www-form-urlencoded
> 
> 
> 
> ACTION=search&CUID=7QCJVqZNuujgdluDNZTXTA%3d%3d&CATALOG=HOME&GCLIENT=PHTTP/1.1 413 Request Entity Too Large
> Date: Tue, 16 Mar 2010 15:39:37 GMT
> Connection: close
> Content-Type: text/html; charset=iso-8859-1
> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> <html><head>
> <title>413 Reques
> 
> Thanks in Advance
> Prabhat

Where does Tomcat figure into this question?

D


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org