Re: General use of rewrite / redirect
| From: | Stut | Date: | Tue, 18 Mar 2008 15:53:04 +0000 |
| Subject: | Re: General use of rewrite / redirect | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-271738@lists.php.net to get a copy of this message | ||
On 18 Mar 2008, at 15:33, Per Jessen wrote:
Stut wrote:My bad. Confusing a 303 with a 301. It's been a long day. Etc. -Stut -- http://stut.net/One minor thing... a 303 redirect is permanent. In this situation you want to use a 302 otherwise you could potentially cause problems with proxies.A redirect following a POST really should be a 303 - RFC 2616 : 10.3.4 303 See Other The response to the request can be found under a different URI and SHOULD be retrieved using a GET method on that resource. This method exists primarily to allow the output of a POST-activated script to redirect the user agent to a selected resource.