Re: URL work in HTML 5

On 2012-10-15 11:08, Anne van Kesteren wrote:
> On Sun, Oct 14, 2012 at 12:08 AM, Darrel Miller <darrel@tavis.ca> wrote:
>> When you say "everywhere", are you also including URIs used in media types
>> like text/uri-list, collection+json, hal+json, RDF/XML, VoiceXML ? Or are
>> you just interested in defining the behaviour of web browsers?
>
> There was this case on the HTTP mailing list a while back:
>
>    Location: /hello world
>
> 1. It's invalid because Location does not allow relative references.

It does in HTTPbis.

> 2. It's invalid because relative references cannot contain a space.

Yes.

> Non-browsers also handle this case however (test it in curl for
> instance), because that is how these things work. They leak.

That is true; but it doesn't necessarily follow they should be made 
conforming (and yes, I know you didn't say that).

> ...

Best regards, Julian

Received on Monday, 15 October 2012 22:45:15 UTC