kennethreitz/requests — pull request #1077 by kanzure (2012-12-31 11:42:07+00:00)
Title: Skip otherwise mandatory headers

This adds support for skip_host and skip_accept_encoding. I bet there are a lot
of ways this could be refactored to not be completely all over the place. This
enables a feature in httplib and http.client from all the way back in py2.4 to
enable/disable the "Host" and "Accept-Encoding" headers.

This breaks a test in urllib3 and the same problem appears in the requests
tests. Hopefully someone can help look into why this test is failing in both
cases.