On 14/03/2011 14:41, André Warnier wrote:
> It still seems to leave open the question as to what "the size limit of
> a MultiPart upload" means exactly.

That is defined by the Servlet 3.0 specification.

> Under Tomcat 7, is this the maxPostSize even for multipart POSTs, or is this 
> settable somewhere else ?

Again, maxPostSize plays *no* role in limiting multi-part uploads. It
only applies when processing POSTs with a content type of:
application/x-www-form-urlencoded

> Also, "the servlet sets the response status to 413" seems to imply that
> the servlet can detect the size of the POST.  But does it know if before
> the client has finished posting ?

That would be the content-length header on the request.

> Is there a detailed description somewhere of how POSTs are handled ?

The Servlet 3.0 spec. Or of you want the implementation detail then the
source code is always available.

Mark

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

Reply via email to