dreid/treq — pull request #3 by Julian (2012-08-05 23:47:34+00:00)
Title: Remove the dependency on requests

The two things that we were using were `CaseInsensitiveDict` and `get_encoding_from_headers`. The former was easy enough to rewrite, and the latter is simple enough to lift wholesale I think.

Unfortunately, `setup.py` still won't run unless the deps are installed from beforehand (unrelated to this pull request other than that it would fail earlier due to `requests`), since `treq.__init__` imports stuff that expects the deps to be present, so I guess that's the next thing to address.

Also, I hope you like (or don't dislike) tox, otherwise I guess feel free to not pull that.