commit | 96118961d0e1a61c8f1e99b6afc4375856f3ac93 | [log] [tgz] |
---|---|---|
author | Filipe David Manana <fdmanana@gmail.com> | Tue Nov 16 20:49:49 2010 +0000 |
committer | Filipe David Manana <fdmanana@gmail.com> | Tue Nov 16 20:49:49 2010 +0000 |
tree | 544780d17a893bda5b5aed40824c3dd3a3762088 | |
parent | d5d3f1f4cd7c6e3d32f28ec3b03b76ca1cbf07df [diff] |
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