[BUG][FIX] HTTPSocket>>httpGet: and redirecting without host names

Avi Bryant avi.bryant at gmail.com
Tue Jan 11 17:21:01 UTC 2005


On Tue, 11 Jan 2005 11:41:24 -0500, Ben Schroeder <bschroeder at procro.com> wrote:

> However, #httpGet: was failing on redirects that gave the new location
> as a full path with no host name, such as '/some/file'. (Seaside - at
> least while running on Komanche but possibly elsewhere - issues
> redirects like this.)

Just fyi - if you fill in a hostname on the Seaside config page, it
will use absolute URLs for its redirects and elsewhere.  Technically,
I believe, relative redirects are not legal in HTTP, although most
browsers do handle them just fine.

Avi



More information about the Squeak-dev mailing list