-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David Zülke wrote:
> After reading http://benramsey.com/archives/http-status-redirection/,  
> I peeked into the code to see which code we are using, and it turns  
> out it's teh evil 302, and 303 is better, says Ben.
> 
> Would anyone objecting to changing the default value of the second  
> argument in AgaviWebResponse::setRedirect()?
> See 
> http://trac.agavi.org/browser/tags/0.11.2/src/response/AgaviWebResponse.class.php#L680
>  
>   for the code.

Fine with me, but we can only use 303 with HTTP 1.1 (or so I
understand), so we'll have to check that and send a 302 if we're using
HTTP 1.0 anyway.

Noah

- --
Noah Fontes
Bitextender
http://www.bitextender.com/
Phone: +1 919 349 9826
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIg8xhhitK+HuUQJQRAuQLAKCE5Z9NKVakMwE8ry/5rUtCUSCmZQCgoJ1T
gYTGCB2RSeHMUfWc2lsfS9w=
=R/RS
-----END PGP SIGNATURE-----

_______________________________________________
Agavi Dev Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/dev

Reply via email to