[erlang-patches] Patch for PUT and DELETE inets HTTP methods support
Michal Ptaszek
michal.ptaszek@REDACTED
Mon Feb 9 11:10:31 CET 2009
Hi,
In the times of RESTful addressing style it is a very inconvenient situation where when one wants to remove something on the server side must use 'POST' method instead of simple 'DELETE'.
Are there any plans to widen the set of accepted HTTP methods?
As far as I have understood the inets source code, RFC (http://www.w3.org/Protocols/rfc2616/rfc2616.html) and the patched server responses, those few lines I am attaching should solve the problem.
Best regards,
--
Michal Ptaszek
www.erlang-consulting.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: httpd_request.erl.patch
Type: text/x-patch
Size: 475 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20090209/e26c8c18/attachment.bin>
More information about the erlang-patches
mailing list