Hi, Johannes,

It does read that line.  If you turned on the "wire tracing" you would
see that.  Behind the scenes HttpClient is following the redirect, and
the 2nd request is not getting any response.

To turn on "wire tracing":
http://jakarta.apache.org/commons/httpclient/logging.html

Your server does not reply to "HEAD" requests to "/home.jsp":

$ telnet www.niedersachsen.de 80
Trying 195.37.201.132...
Connected to cms.niedersachsen.de.
Escape character is '^]'.
HEAD /home.jsp HTTP/1.1

[no response....]


yours,

Julius


On Thu, 2005-03-03 at 10:31 +0100, Johannes Koch wrote:
> Hi Julius,
> 
> Julius Davies wrote:
> > Httpclient is following the redirect (the "location" header),
> 
> Really? It doesn't even read the
> 
> HTTP/1.1 302 Found
> 
> line.
> 
> > Also, you should be setting the socket timeout and the connection
> > timeout:
> 
> That's what I already do.

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

Reply via email to