Re: New globals for PUT and DELETE

From: Date: Mon, 27 Oct 2014 08:08:06 +0000
Subject: Re: New globals for PUT and DELETE
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16  Groups: php.internals 
Request: Send a blank email to internals+get-78379@lists.php.net to get a copy of this message
On 26/10/14 22:21, Stas Malyshev wrote: > Hi! > >> The only way to do this in PHP now is write a userland function that parses >> multipart form data, which is non-trivial. I had written one, but would > > It is true that PUT data need to be parsed, however it is not true you > have to implement MIME parsing from scratch. There are frameworks that > implement that. Not everything must be written in C. But if you want C, > doesn't pecl/http already have the required bits? Yes, see here: http://devel-m6w6.rhcloud.com/mdref/http/Env http://devel-m6w6.rhcloud.com/mdref/http/Env/Request http://devel-m6w6.rhcloud.com/mdref/http/Message http://devel-m6w6.rhcloud.com/mdref/http/Message/splitMultipartBody http://devel-m6w6.rhcloud.com/mdref/http/Message/Body -- Regards, Mike

« previous php.internals (#78379) next »