Re: $HTTP_RAW_POST_DATA
| From: | Kjartan Mannes | Date: | Sun, 10 Nov 2002 23:23:40 +0000 |
| Subject: | Re: $HTTP_RAW_POST_DATA | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-90749@lists.php.net to get a copy of this message | ||
Monday, November 11, 2002, 12:01:26 AM, Hartmut Holzgraefe wrote:
> unless i did something stupid while testing this is also the case
> at least for 4.2.x (due to the way multipart forms are handled now
> to preserve memory on file uploads) ...
Yes, but it doesn't populate HTTP_RAW_POST_DATA when the mime type is
not known anymore, or when there is a post. This is a change.
> maybe it is time to set up a table of when what is populated
> related to HTTP method, Content-Type and always_... setting?
Always should be always, or change it to sometimes ;)
To me it would be logical of $HTTP_RAW_POST_DATA was filled when there
was POST data and the always option removed (if there is no post data
why fill it ?). The current behavior is just confusing, and adds another
complication when writing widely used scripts.
--
Kjartan <kjartan@zind.net> (http://natrak.net/)
:: "Press any key... no, no, no, NOT THAT ONE!"