[erlang-patches] httpc: Allow content body in DELETE requests

Fredrik <>
Mon Jun 17 10:59:07 CEST 2013


On 06/14/2013 07:18 PM, James Wheare wrote:
> 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
> 
> http://erlang.org/mailman/listinfo/erlang-patches
Hello James,
I've fetched your patch and assigned it to the responsible team for review.
Thanks,

-- 

BR Fredrik Gustafsson
Erlang OTP Team



More information about the erlang-patches mailing list