Content length empty body #23

Merged
1 commit merged into from Dec 14, 2010

Conversation

Projects
None yet
1 participant
Contributor

fdmanana commented Dec 10, 2010

Hi Chandru,

Here's the pull request for issue 21.

Thanks for looking into this.

@fdmanana fdmanana Two changes:
1) Set Content-Length to 0 for empty PUT and POST requests (necessary for some proxies);

2) Use iolist_size/1 instead of size/1 or length/1 because the body can be an iolist
9611896

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment