Hello again, I have tried the sample you gave me with a big file (1,7 Mb). I have activated the debug mode which gave me the following logging:
DEBUG [httpclient.wire.header] >> "POST /DemoWar HTTP/1.1[\r][\n]" ... DEBUG [httpclient.wire.header] >> "User-Agent: Jakarta Commons-HttpClient/3.0[\r][\n]" ... DEBUG [httpclient.wire.header] >> "Host: localhost:8080[\r][\n]" ... DEBUG [httpclient.wire.header] >> "Content-Length: 1771556[\r][\n]" ... DEBUG [httpclient.wire.header] >> "Content-Type: text/plain; charset=UTF-8[\r][\n]" ... DEBUG [httpclient.wire.header] >> "[\r][\n]" ... DEBUG [httpclient.wire.content] >> "PRIVATE ENTERPRISE NUMBERS[\r][\n]" ... I don't see any Content-Encoding: chunked or Transfer-Encoding: chunked in the header !!! Any idea ? Regards. -----Message d'origine----- De : Roland Weber [mailto:[EMAIL PROTECTED] Envoyé : mardi 7 mars 2006 20:02 À : HttpClient Project Objet : Re: How to test chunked http request ? Hello Francois, "don't be hasty" is the motto of the Ents :-) http://en.wikipedia.org/wiki/Ent > I want to test http chunked request against Tomcat 5.x. HttpClient will use chunked encoding by default for HTTP/1.1 requests. Just stream some data to the server. http://jakarta.apache.org/commons/httpclient/performance.html#Request/Response%20entity%20streaming cheers, Roland --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
