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>  
> 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
Received on Wednesday, 11 February 2009 15:20:00 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:12 UTC