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: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to