Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: "Christoph M. Becker" Newsgroups: comp.lang.php Subject: Re: PHP CSV Date: Sat, 07 Feb 2015 16:54:02 +0100 Organization: solani.org Lines: 29 Message-ID: References: <191220140943102761%timstreater@greenbee.net> <54d20e47$0$2897$e4fe514c@news2.news.xs4all.nl> <040220151329007325%timstreater@greenbee.net> <54d23d2c$0$2882$e4fe514c@news2.news.xs4all.nl> <1869725.rFEKTeptZX@PointedEars.de> <2060990.gYGktATJjB@PointedEars.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: solani.org 1423324431 8869 eJwFwYEBACAEBMCVxL80Dsr+I3RH8+W94XRwOClS93nHPR2pzTGSEorjxnoK7Is0rFGr4QcePxDN (7 Feb 2015 15:53:51 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Sat, 7 Feb 2015 15:53:51 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 X-User-ID: eJwFwQEBwCAMAzBLQNcW5MD2+ZfwhNBUOkQFmz30wrvuN/YJ4natspuyT3Fk4NWEgCTasX4TpBB/ In-Reply-To: Cancel-Lock: sha1:aSN10lDcc6Th7Odj3khDSCJ3jjk= X-NNTP-Posting-Host: eJwNwoERACEIA7CVxELRcUTs/iP8XxKg8aYz6KFflE1Fj8LKo+ssHKrRGo1Iy7m0Xz5W+dn4ACMQEWg= Xref: csiph.com comp.lang.php:14890 Jerry Stuckle wrote: > On 2/7/2015 8:45 AM, Christoph M. Becker wrote: >> >> ACK. However, I was responding in particular to Jerry's claim, that >> redirection after performing some processing would be incorrect. >> According to RFC 7321[1]: >> >> | [...] It [the 303 status code] is primarily used to allow the output >> | of a POST action to redirect the user agent to a selected resource, >> | [...] >> >> [1] > > That is correct - to a "SELECTED RESOURCE". That is one that is not > identified in the POST or GET request. It is used when the request > itself does not provide enough information to return the resource, or > the original target does not have access to the resource. One of the most common uses of "303 See Other" is the PRG pattern, which has nothing to do with what you're making up here. > Read the entire paragraph - not just one statement. Then UNDERSTAND it > - if you're capable of such (which you've shown in the past you aren't). EOD. -- Christoph M. Becker