Re: [PHP-DEV] Native support - PUT request, multipart form data
[email protected] (David Zuelke)
| Newsgroups | php.internals |
|---|---|
| Message-ID | <[email protected]> |
On 17 Aug 2014, at 22:55, Chris Wright <[email protected]> wrote: > On 17 August 2014 11:49, David Zuelke <[email protected]> wrote: >> That does not make any sense; applications could accept XML, CSV or whatever else just as well. >> >> The original proposal is not very useful. $_GET contains parsed query string info, $_POST contains parsed HTTP request body information if the media type is application/x-www-urlencoded or multipart/form-data. Deserializing that makes sense as the rules for it are in the HTTP spec. > > (warning: nitpicking) actually, neither of these types are part of the > HTTP specification, the protocol specification doesn't deal with how > to handle content, only how to transmit it. RFC 2616 makes no mention > of it, and RFCs 7230-7235 don't either. Sorry, typo, I meant to write HTML.