W3C home > Mailing lists > Public > uri@w3.org > February 2009

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

From: Anne van Kesteren <annevk@opera.com>
Date: Wed, 11 Feb 2009 16:19:19 +0100
To: uri@w3.org
Message-ID: <op.uo60uhsv64w2qv@annevk-t60.oslo.opera.com>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 13 January 2011 12:15:42 GMT