W3C home > Mailing lists > Public > uri@w3.org > January 2006

RE: http-urls style, trailing slash and webdav

From: Larry Masinter <LMM@acm.org>
Date: Mon, 30 Jan 2006 10:34:40 -0800
To: "'Reto Bachmann-Gmür'" <reto@gmuer.ch>, "'Windows-world'" <windows-world@wanadoo.fr>
Cc: uri@w3.org
Message-id: <001601c625cb$d520e750$fb822099@corp.adobe.com>

http://www.w3.org and http://www.w3.org/ are two different URIs
that identify the same resource. They identify the same resource
because the two different URIs specify the same effective procedure
for connecting to the resource (whether via GET, POST, or some
other HTTP method).

The URIs http://www.W3.org and http://WWW.w3.OrG also
identify the same resource.

While these refer to the same resource, there is no normative
canonical form, and XHTML (strict or not) has no requirement
for URI canonicalization.



 
> But the HTTP 1.1.RFC 2116 says about get-requests:
> 
> Note that the absolute path cannot be empty; if none is 
> present in the original URI, it MUST be given as "/" (the 
> server root).
> 
> 
> So while http://www.w3.org and http://www.w3.org/ are different URLs it 
> seems that you cannot dereference the first one - or maybe you're 
> supposed to put the complete URL into the get-request (GET 
> http://www.w3.org HTTP/1.1), not sure. I haven't seen any 
> browser doing this...
> 
> reto
> 
> Windows-world schrieb:
> > Hi !
> >  
> > And for conformity XHTML Strict, it's obliged to add '/' or don't ?
> >  
> > exemple when I make a link with the home page :
> >  
> > http://www.exemple.com
> >  
> > or
> >  
> > http://www.exemple.com/
> >  
> > one of you know that ?
> >  
> > thanks,
> >  
> > Friendly,
> >  
> > Jonathan - ( www.jouer-gratuit.net <http://www.jouer-gratuit.net> )
> >  
> >  
> 
> 
Received on Monday, 30 January 2006 18:34:55 UTC

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