hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johannes Koch <johannes.k...@fit.fraunhofer.de>
Subject Re: [HttpClient] Adjusting location URIs
Date Thu, 25 Oct 2007 12:54:39 GMT
Ortwin Gl├╝ck schrieb:
> Johannes Koch wrote:
>> is a URI where the path component does not start with a '/'. And so I get
>>
>> java.net.URISyntaxException: Relative path in absolute URI:
>> http://www.example.orgfoo.bar
> 
> Yes, it's currently broken, and your suggested fix would break it even more.

Yes. You suggest

> Instead
> the resulting URI must be resolved against the request URI

But currently it is not. Instead a new URI is created from the target 
URI scheme, host, port and the location header value.

-- 
Johannes Koch
BIKA Web Compliance Center - Fraunhofer FIT
Schloss Birlinghoven, D-53757 Sankt Augustin, Germany
Phone: +49-2241-142628    Fax: +49-2241-142065

---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org


Mime
View raw message