Added test for overriding Content-Length.
Fixed.
Merge pull request #2332 from asnelzin/fix-2329

Add overriding Content-Length