nahi/httpclient — pull request #175 by jsherwood0 (2013-08-07 18:33:13+00:00)
Title: Make session.rb ignore negative content length

Some servers return negative content lengths, causing issues with httpclient. I've set it to just use maxbytes if the content length reported is negative, which appears to work well for me.