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

http://issues.apache.org/bugzilla/show_bug.cgi?id=33181





------- Additional Comments From [EMAIL PROTECTED]  2005-01-20 19:56 -------
Created an attachment (id=14055)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=14055&action=view)
Here you will find the packagw which reproduces error

I disabled the redirection in HTTPConnector to use my own implementation of
redirect handling (see the followRedirects method).

Please build that (you will need log4j package, i used version 1.2.9)

on this command line: java test http://www.pioneerplanet.com/archive/sla/5.htm
i got this output:

20.01.2005 20:55:13 org.apache.commons.httpclient.HttpMethodBase
processRedirectResponse
INFO: Redirect requested but followRedirects is disabled
Step 1: redirecting to http://www.twincities.com/
Step 2: redirecting to http://www.twincities.com/
20.01.2005 20:55:19 org.apache.commons.httpclient.HttpMethodBase processRequest

INFO: Recoverable exception caught when processing request
20.01.2005 20:55:19 org.apache.commons.httpclient.HttpMethodBase processRequest

WARNING: Recoverable exception caught but MethodRetryHandler.retryMethod()
returned false, rethrowing exception
Exception in thread "main"
org.apache.commons.httpclient.HttpRecoverableException:
org.apache.commons.httpclient.HttpRecoverableException: Error in parsing the
status  line from the response: unable to find line starting with "HTTP"
        at
org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1962)

        at
org.apache.commons.httpclient.HttpMethodBase.processRequest(HttpMethodBase.java:2653)

        at
org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1087)
        at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:643)
        at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:497)
        at HTTPConnector.followRedirects(HTTPConnector.java:141)
        at HTTPConnector.getContentType(HTTPConnector.java:74)
        at test.main(test.java:6)


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

Reply via email to