W3C home > Mailing lists > Public > www-talk@w3.org > July to August 1996

Re: Problems with code "302 Moved Temporarily"

From: Koen Holtman <koen@win.tue.nl>
Date: Wed, 7 Aug 1996 14:53:11 +0200 (MET DST)
Message-Id: <199608071253.OAA12147@wsooti04.win.tue.nl>
To: masinter@parc.xerox.com (Larry Masinter)
Cc: raj@cisco.com, www-talk@w3.org
Larry Masinter:
>Richard Johnson <raj@cisco.com> wrote:
>> I talked with Netscape about this problem and while they admit that their
>> handling of a code "302" is not as it should be, they also pointed out that
>> since the RFC uses the words, "... the client SHOULD continue to use the
>> Request-URI for future requests", Netscape has no motivation to change
>> their incorrect behavior.  I am sure the same analysis could easily be made
>> of all other browsers and thus it seems as if the code "302" will mostly
>> likely not reach its intended level of use simply because browser designers
>> are clearly allowed to handle this code in a way inconsistent with its
>> intent.
>
>but HTTP says:
>
>> SHOULD
>>     This word or the adjective "recommended" means that there may exist
>>     valid reasons in particular circumstances to ignore this item, but
>>     the full implications should be understood and the case carefully
>>     weighed before choosing a different course.
>
>
>so what are the "valid reasons"?

Clickable maps are the valid reason.  The script processing a
clickable map URL like http://cgi-bin/imagemap?54,32 will return a 302
redirect to an URL like http://animals/cats/, and it makes *much* more
sense to show and bookmark the latter as the location.  I'd be
surprised if there were any user agent which does not bookmark the
second URL.  If you want to bookmark the first, you have the
additional problem of not having a title.

I think that the only way to get `bookmark the first URL' semantics
would be to define a completely new redirection code, or an extra
response header which would change the currently used 302 semantics if
present.

(BTW, this existing practice with 302 is why I make so much fuss about
bookmarking the right URL in section 12.2 of the transparent content
negotiation draft.)

>- Larry

Koen.
Received on Wednesday, 7 August 1996 17:05:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 October 2010 18:14:19 GMT