Fix for issue5040. Adding test for Content-Length
2 files changed