Re: httpc: Allow content body in DELETE requests

Fredrik <[email protected]>
Newsgroups gmane.comp.lang.erlang.patches
Message-ID <[email protected]>
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
> [email protected]
> 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

_______________________________________________
erlang-patches mailing list
[email protected]
http://erlang.org/mailman/listinfo/erlang-patches
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.