Add Content-Length to POST and PUT requests
fixed tests
Merge pull request #47 from horaci/fix-content-length

Add "Content-Length" header to POST and PUT requests