Re: [XHR] Redirects

On Thu, Sep 16, 2010 at 6:31 AM, Julian Reschke <julian.reschke@gmx.de>wrote:

>
>>> I think that obtaining the resolved Location for the redirect is the
>>> most tricky part, and we should come up with a solution where that is
>>> also available for people who do not want the default browser behavior.
>>>
>>
>> I don't really like special casing the Location header here. It seems we
>> are ending up with two additional members for dealing with redirects. I
>> do not want another one. There are other headers where resolving a URL
>> might be needed. Adding a parameter to navigator.resolveURL() for a base
>> URL is the way to go I think.
>>
>
> That sounds good to me. In general I think it would be great if there were
> standard APIs for URI/IRI construction, parsing and resolution...
>
>
Yes, that sounds pretty good to me too.

-Darin

Received on Thursday, 16 September 2010 22:26:13 UTC