Re:The reason behind the half-REST design pattern
by WALoeIII on Wednesday April 21, 2010 @03:00AM
(#1281551)
What kind of configuration do you need to do to 'enable' PUT and DELETE? In my experience with 1.3, 2.0 and 2.2 it was always proxied correctly. I am using primarily nginx these days which also proxies the HTTP method without any special configuration.
Re:The reason behind the half-REST design pattern
by pak on Wednesday April 21, 2010 @07:14AM
(#1281839)
If you're using mod_php, you have to configure a script handler for PUT requests, and then read from stdin in PHP instead of using the superglobals. Is it hard? Not really, but it's not as easy as using $_POST. Here's a tutorial for anybody interested:
http://www.phpbuilder.com/manual/en/features.file-upload.put...
I myself have been guilty of this. At the end of the day, supporting PUT at expense to ease of use by the API consumer (and effort expended to support their toolchains and SDKs, most of which need extra twiddling to do PUT and DELETE) is just not preferable to getting something working... REST philosophies be damned.