At 10:39 PM 6/22/00 -0400, Daniel Gindikin wrote:
>On Thu, Jun 22, 2000 at 08:12:32PM -0400, Chuck Esterbrook wrote:
> > Maybe this problem is more general.
> > Consider http://host/Examples
> > Examples is a directory, but without the trailing slash, the browser
> > assumes that relative links such as "Time" exist in host/ instead of
>I once wrote a webspider, so I came across this before. What usually
>happens (and I'm guessing this depends on the webserver), is that you
>are redirected from "http://host/Examples" to "http://host/Examples/"
>via a 302 "Temporarily Moved" code. Try it in your browser, you'll
>see the url change to the one with a trailing slash.
>The one exception to this is when the url only contains the hostname,
>i.e. "http://www.foo.com" does not redirect you to
>"http://www.foo.com/", the two get you the same page.
I kind of figured on something like this. But we'll have to modify WebKit
to do it. Even the webserver won't do it for us, since it hits our
WebKit.cgi adapter and doesn't know anything about the "extra path info"
that follows it except that it's there.
If 302 is the unofficial standard, then we'll do that.