Re: URI parsing (http:///test)

Anne van Kesteren scripsit:

> For the URI
> 
>   http:///test
> 
> the authority component ends up being the empty string (parsing does not  
> fail). Is this intentional

Yes.  All the components of a URI except the scheme are optional.

> and what exactly are UAs supposed to do with  
> such a URI?

Whatever they like.  Just because a sentence is parsable doesn't mean
you'll be able to shingle its colorless greenness.

-- 
You know, you haven't stopped talking           John Cowan
since I came here. You must have been           http://www.ccil.org/~cowan
vaccinated with a phonograph needle.            cowan@ccil.org
        --Rufus T. Firefly

Received on Wednesday, 11 February 2009 15:11:26 UTC