Re: Content length when HTTP Transfer-encoding is chunked

2009-03-05 Thread Mahesh Seshan
contents ? -mahesh On Thu, Mar 5, 2009 at 10:39 AM, Rainer Jung wrote: > On 05.03.2009 16:16, Mahesh Seshan wrote: >> >> Hello, >> >> I can obtain the content-length of a HTTP Servlet Request when the >> Content-Length header is added by the client. However, when th

Content length when HTTP Transfer-encoding is chunked

2009-03-05 Thread Mahesh Seshan
Hello, I can obtain the content-length of a HTTP Servlet Request when the Content-Length header is added by the client. However, when the Transfer-encoding is chunked, how do I programatically obtain the content length ? The task at hand for me is to prevent a HTTP client from issuing a request t