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

RE: deleting slash at the and of an URL

From: Dave J Woolley <DJW@bts.co.uk>
Date: Wed, 12 Jan 2000 14:52:50 -0000
Message-ID: <81E4A2BC03CED111845100104B62AFB53F3F71@stagecoach.bts.co.uk>
To: www-amaya@w3.org
> From:	Irene.Vatton@inrialpes.fr [SMTP:Irene.Vatton@inrialpes.fr]
> 
> 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 /.
> 
	Documents and directories are implementation
	details in the server; that there is commonly
	a correlation between a URL and a directory path
	doesn't guarantee that to be so.

	The particular problem with dropping the / is that
	the resulting redirect isn't cacheable, so the 
	request goes end to end even when a local cache has
	the required page.

	Redirects are essential here, otherwise relative
	URLs will break.

	In the case quoted the client has broken because the /
	form was tried first and, reasonably, rejected (some
	serveres would ignore the excess pathinfo) but Amaya
	thought that the non-/ form must be equivalent, so
	has refused to refetch it.
Received on Wednesday, 12 January 2000 09:57:08 UTC

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