W3C home > Mailing lists > Public > www-amaya@w3.org > January to March 2000

Re: deleting slash at the and of an URL

From: <Irene.Vatton@inrialpes.fr>
Date: Wed, 12 Jan 2000 15:38:15 +0100
Message-Id: <200001121438.PAA19321@tahiti.inrialpes.fr>
To: www-amaya@w3.org
In-reply-to: Your message of Wed, 12 Jan 2000 13:48:36 +0000."
             <81E4A2BC03CED111845100104B62AFB53F3F70@stagecoach.bts.co.uk> 
> > From:	Irene.Vatton@inrialpes.fr [SMTP:Irene.Vatton@inrialpes.fr]
> > Right Amaya considers that 
> > http://wings.buffalo.edu/soc-sci/linguistics/dryer/atlas
> > and http://wings.buffalo.edu/soc-sci/linguistics/dryer/atlas/
> > are the save URI. 
> > 
> 	It shouldn't because they aren't.  This is the
> 	correct one (with the /):
> 
> 	HTTP/1.0 200 OK
> 	Server: Apache/1.3.6 (Unix) PHP/3.0.11
> 	Last-Modified: Fri, 17 Dec 1999 17:19:13 GMT
> 	Accept-Ranges: bytes
> 	Content-Type: text/html; charset=iso-8859-1
> 	Content-Length: 13864
> 	ETag: "47604c8-3628-385a7091"
> 	Via: 1.1 cache.www.uk.psi.net (NetCache 4.0R4)
> 	Date: Wed, 12 Jan 2000 13:49:17 GMT
> 	Age: 54
> 	X-Cache: MISS from athena.bts.co.uk
> 	Proxy-Connection: close
> 
> 	Without the /, the server redirects to the correct
> 	one, but could return something completely different.
> 	This is why missing the / is a bad thing; it causes 
> 	unnecessary internet traffic for the redirects.

But you can also access a document without any suffix and only
the server knows if the URI points to a document or a directory,
not the client. I consider that the client doesn't have to add a /.

> 
> 	HTTP/1.0 301 Moved Permanently
> 	Server: Apache/1.3.6 (Unix) PHP/3.0.11
> 	Content-Type: text/html
> 	Location: http://www.w3.org/Amaya/
> 	Via: 1.1 cache.www.uk.psi.net (NetCache 4.0R4)
> 	Date: Wed, 12 Jan 2000 13:50:32 GMT
> 	Age: 53
> 	X-Cache: MISS from athena.bts.co.uk
> 	Proxy-Connection: close
> 

  Irene.
Received on Wednesday, 12 January 2000 09:38:46 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:53:21 UTC