2012/8/17 Sahana Voleti <sahanasithmas...@gmail.com>:
> Konstantin Kolinko,
> You mentioned the following in your mail:
> "You can add the following: "%{content-length}i" to your Access Log
> Valve configuration to log the Content-Length header of the incoming
> request."
> Can you elaborate as to how to make this change.

1. Read documentation for AccessLogValve.
2. Use a text editor to edit server.xml file (for the global access
log) or the META-INF/context.xml file of your web application (for
your webapp's access log).
3. Restart Tomcat.
4. Read access log file and compare the value mentioned there with the
size of your uploaded file.  The value of content-length header should
be slightly more than the size of your file (because of delimiters
being added). Alternatively a browser can use
"content-encoding:chunked" header.

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

Reply via email to