httpc: Allow content body in DELETE requests
James Wheare <[email protected]>
| Newsgroups | gmane.comp.lang.erlang.patches |
|---|---|
| Message-ID | <CACBTDBOr2KQwWRjrp4GhQajacPYNPOzsAao321bK1W8A3fonmw@mail.gmail.com> |
Fetch command: git fetch git://github.com/jwheare/otp.git httpc_delete_body Compare: https://github.com/jwheare/otp/compare/httpc_delete_body Patch: https://github.com/jwheare/otp/compare/httpc_delete_body.patch lib/inets/src/http_client/httpc.erl | 2 +- lib/inets/test/httpc_proxy_SUITE.erl | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) --- httpc: Allow content body in DELETE requests This isn't illegal according to the HTTP spec as far as I can see. Here's an example of a real world API that requires it: https://stripe.com/docs/api/curl#cancel_subscription _______________________________________________ erlang-patches mailing list [email protected] http://erlang.org/mailman/listinfo/erlang-patches