DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24560>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24560

HttpClient loops endlessly while trying to retrieve status line





------- Additional Comments From [EMAIL PROTECTED]  2003-11-13 13:40 -------
Oleg, 
 
thank you for compliments :) 
 
I also think that it is quite important for a HTTP client to have a bundled, 
tiny HTTP server for testing. 
 
Unfortunately, at the moment, I do not have the time to dig that deep into 
HttpClient's test cases. However, I provide a simple HTTP server framework, 
where you can construct the replies yourselves (anyone interested in?) 
 
By default, the SimpleHttpServer does nothing but throwing a "503 Service 
Unavailable" until you extend it with your own request handlers. 
 
One is provided in the new TestBadContentLength. Another one is a handler 
chain, where multiple handlers can be stacked up, even to very complex 
structures (chains of chains). The chain stops on the first handler that 
writes to the given output stream. 
 
By the way: It is not very well tested, just give it a try. 
 
 
Christian

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

Reply via email to