Set Content-Length header as some servers reject put/post requests which don't have one
Merge pull request #8 from jetume/master

Set Content-Length header as some servers reject put/post requests which...