Trailing Slash?

Dave Holland dave at biff.org.uk
Mon Oct 17 13:59:14 PDT 2005


On Mon, Oct 17, 2005 at 12:32:37PM -0800, Christopher E. Granade wrote:
> * The delegate identity URL must be canonical. It will not be further
>   processed by the consumer, so be sure it has the "http://" and
>   trailing slash, if there's no path component.
>   NOTE: The consumer SHOULD append a trailing slash if appropriate, and
>   if the login fails without the slash appended. Note also that a server
>   SHOULD NOT recognize two identity URLs that differ only by a trailing
>   slash.

My web server (Apache, FWIW) issues a redirect with code 301 if the
trailing slash is omitted from a directory-level URL. Is it worth saying
something like...

  [the URL] "will not be further processed by the consumer except to
  follow HTTP redirects, so be sure..." [etc]

or is that pushing too much work onto the consumer?

Dave


More information about the yadis mailing list