Re: 301/302

Ok, lets assume for the moment that we adopt the 307 proposal.
(hypothetically)..

Now, Im joe CGI script writer, and Im writing a new CGI script.
I want to make the client do the "redirect with GET behavior".
So, I read the spec and figure out what to do.
Hmm.. 302 is deprecated, so I shouldnt use that.
Ahah! 303, thats what I want..
So, I code my script to respond with a 303, confident that the 
 client will come back with a GET for the location: I specify.

NOPE.
90% of the browsers today dont support 303 (yet).
If this isnt backwards incompatible, what is?

So, I could either:
 1) send 302, ( yeah it says 'deprecated', but it will live forever,
		it will never be 'safe' to send 303 )

 2) only send 303 if the request was HTTP/1.1
This gets ugly..

It seems to me that the "swap" proposal only leaves an ambiguous
 case, with the potential to fail for implementations who
 follow the 'interim spec' (prior to the swap), but remains
 mostly functional with 90% of the existing browsers.

The "307" proposal, will allow currently functioning CGI
 scripts to continue to work, but it will be a very long
 time until a CGI implementor can feel comfortable with
 returning a 303.

-- 
-----------------------------------------------------------------------------
Josh Cohen <josh@netscape.com>		      Netscape Communications Corp.
http://people.netscape.com/josh/
                                "You can land on the sun, but only at night"

Received on Wednesday, 3 September 1997 15:38:51 UTC