You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by bu...@apache.org on 2003/08/29 03:34:06 UTC
DO NOT REPLY [Bug 22800] -
Crashes when it gets a redirect
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=22800>.
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=22800
Crashes when it gets a redirect
------- Additional Comments From becke@u.washington.edu 2003-08-29 01:34 -------
Hi Adam,
Thank you for posting this bug. I tried this out and was unfortunately unable to reproduce the
problem. Here's what I tried:
System.setProperty("org.apache.commons.logging.Log",
"org.apache.commons.logging.impl.SimpleLog");
System.setProperty("org.apache.commons.logging.simplelog.showdatetime", "true");
System.setProperty("org.apache.commons.logging.simplelog.log.httpclient.wire", "debug");
System.setProperty("org.apache.commons.logging.simplelog.log.org.apache.commons.httpclient",
"debug");
String url = "http://www.ibiblio.org/maven";
HttpClient client = new HttpClient();
GetMethod get = new GetMethod(url);
client.executeMethod(get);
get.getResponseBody();
The request was redirected successfully. There are also a number of test cases for redirects that
work with HEAD. Is must be something about how HttpClient is configured or being called. Can
you provide a test case and/or a wire log <http://jakarta.apache.org/commons/httpclient/
logging.html>?
Thanks,
Mike