On Tue, 2011-01-04 at 17:30 +0200, Ittay Dror wrote:
> It turns out this is because my warmupInput file was empty. The server
> responded with 100 (continue), but because the file was empty nothing
> was written to the output stream, so after a while there was a timeout.
>
> IMHO, this is a bug. Either an empty input should be posted, or I should
> get a more accurate error ("nothing to post")
>
> Ittay
>
The protocol interceptor responsible for generating 'expect:
100-continue' header does not add the header to messages with empty
request bodies [1]. Feel free to doubled-check.
http://hc.apache.org/httpcomponents-core-ga/httpcore/xref/org/apache/http/protocol/RequestExpectContinue.html
Oleg
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]