[erlang-patches] httpc: Allow content body in DELETE requests
James Wheare
james@REDACTED
Fri Jun 14 19:18:22 CEST 2013
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
More information about the erlang-patches
mailing list