Parsing PUT data
| From: | Dave | Date: | Tue, 24 Sep 2013 05:19:51 +0000 |
| Subject: | Parsing PUT data | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-69307@lists.php.net to get a copy of this message | ||
Hi All,
Firstly, let me know if this is particularly spammy/inappropriate for this
list.
I just wanted to get some feedback on a long-time feature request (2011)
about treating PUT the same as POST in terms of re-using the existing form
parser. See https://bugs.php.net/bug.php?id=55815 for details.
Normally, I wouldn't have posted this to internals, but as you can see,
there's been no movement on this for a long time.
In short, in order to provide a proper REST service that supports multipart
form data, we need someway to parse data sent via PUT (data is available
via php://input, but it needs to be parsed).
Could be as simple as adding $_PUT / $_FILES for PUT data.
What's the best way to move this forward?
Do I need to create a patch/RFC? Or is this something someone can just pick
up?
Thanks,
Dave