content length was incorrect for HTML content, and was throwing an request error.
Merge pull request #5 from fastfrwrd/master

request.error related to content-length header
Thanks for catching that.