Hello Hannah,

The header has a content - lengh, but don't ask me what size :-( I'm facing
nearly the same problem. And I stuck on the doc as well..
:-(

You need to set the content lengh, but you need to set this lengh. I didn't
set the lengh and I had trouble while post command (file upload). 
(You'll not get this problem without ajpv13)

As soon as I vahe more information about that, I 'll post it.

Regards,

gunnar

-----Ursprüngliche Nachricht-----
Von: Hannah Li [mailto:[EMAIL PROTECTED] 
Gesendet: Dienstag, 27. Juli 2004 09:07
An: [EMAIL PROTECTED]
Betreff: JK2 AJP13 and Content-Length

In AJPv13 doc, there is a note:

*Note: *The *content-length* header is extremely important. If it is present
and non-zero, the container assumes that the request has a body (a POST
request, for example), and immediately reads a separate packet off the input
stream to get that body.

Does it mean the request header has to have Content-Length specified in
order to get the request body? In my program, I have to send requests which
contains Transfer-Encoding: chunked in the header (the request is forwarded
from IIS5 to Tomcat4.1.30 by mod_jk2-2.0.4). This means my request header
does not have Content-Length. How can I get the request body using AJP13?



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to