Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

HTTP POST maximum size  RSS feed

 
Pho Tek
Ranch Hand
Posts: 782
Chrome Python Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I know that a HTTP GET url has some maximum length possibly constrained by the browser url textbox or the Apache/Tomcat's server limit.

Is there a configuration in Tomcat to limit the size of HTTP POSTs ?

Thanks

Pho
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Short answer NO
In SOAP applications people POST multiple megabyte data streams.
I suppose you could have your servlet look for the Content-length header and close the connection if it is too large.
Bill
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!