mikeal/request — pull request #361 by danjenkins (2012-11-05 13:05:26+00:00)
Title: Don't create a Content-Length header if we already have it set

We've had issues where we need to send Content-Length as a header, rather than content-length; when content-length lowercase is in the request, the request fails.

I've put some more checks around content-length so that request doesn't do this if we've already worked out Content-Length

I thought it was part of the HTTP spec that headers we in fact uppercase? According to RFC2616?

http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html