tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier>
Subject Re: Is there an upload limit of around 8000 bytes in tomcat 6?
Date Tue, 14 Dec 2010 10:05:48 GMT
Klemens Muthmann wrote:
> Didn't know this. I thought files would be part of the message content. 

Well, in a well-behaved application using HTTP, they should be.
HTTP headers are generally meant to convey information /about/ the content, not to /be/ 
the content. Otherwise they would not be called HTTP headers.

To be more clear : if your REST application is sending content in the HTTP headers, then 
it is not a well-behaved HTTP application.
Tomcat is on the receiving end, and it is primarily a HTTP server.  It tries to do its 
best to digest what clients throw at it, but it is not normally expecting to receive HTTP

headers of that size.  The quick fix which Mark gave you, is only that.  The problem is 
with your application.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message