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=31471>. 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=31471 HostConfiguration handling requires cleanup [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Additional Comments From [EMAIL PROTECTED] 2004-10-07 16:24 ------- Mike, It turned out that URL approach required no extra badness. I am glad you made me rethink it: - if (method.getHost() != null) { - hostConfiguration.setHost(method.getHost()); + URI uri = method.getURI(); + if (uri.isAbsoluteURI()) { + hostConfiguration.setHost(uri); Problem fixed, API chanhes to the HttpMethod interface rolled back, additional test cases submitted. I am marking the report FIXED Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]