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

On Wed, 11 Feb 2009 15:29:03 +0100, Anne van Kesteren <annevk@opera.com>  
wrote:
> For the URI
>
>    http:///test
>
> the authority component ends up being the empty string (parsing does not  
> fail). Is this intentional and what exactly are UAs supposed to do with  
> such a URI?

Per a seemingly unrelated e-mail from Björn Höhrmann to  
ietf-http-wg@w3.org it appears that treatment of empty host names is up to  
the scheme which in case of http means the URI is in error. (Though  
2616bis may change this...)


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>

Received on Wednesday, 11 February 2009 15:20:00 UTC