Update docs to reflect use of params
Update documentation on Sessions.
This resolves issue #870. Better documentation here should be considered for further work.
Fix a bug in _encode_params
Fix for default_user_agent when SIGCHILD intercepted
adding UTF-8 status codes
Added 'zip_safe' flag to 'setup.py' & Fixed typo in 'MANIFEST.in'
…ues that are iterable but not a list.
Use a JSON-specific encoding detection when no encoding has been specified
Make sure that url has fragment removed when using a proxy
If the random data starts with a UTF-16 BOM *and* the next two bytes are for a character in the `\ud800`-`\udfff` range decoding would fail. Small chance, but still possible. Extend it to check the UTF-8 error as well. The goal is to test that the guesser was *mostly* correct, and to verify the cases where it wasn't that it was to be expected. Most of all that the function doesn't buckle under wildly unexpected data.
Needed to appease Travis; it's python 2.6 and 2.7 builds are weird and the `__builtins__` dict is not following CPython conventions.
…ified. JSON *must* be encoded using UTF-8, UTF-16 or UTF-32 (see the [RFC]; detect the encoding based on the fact that JSON always starts with 2 ASCII characters. : http://tools.ietf.org/html/rfc4627#section-3
quote_plus, unquote_plus added
compat.py: relevant imports added utils.py: then those imports are imported here. Nothing else was changed, but I saw mentions of quoting later in utils.py but I wasnt sure what to do about that.
Remove path hacks that break chardet in Python 3. Closes #858.
This replaces the sys.path hack with a slightly less objectionable sys.modules hack. Both have the effect of making the vendored lib's absolue imports work as expected when oauthlib isn't installed. The sys.modules hack doesn't insert the rest of the vendored crap in a global path, however.
Replace assert statements with unittest's self.assert*
Make value of Contents-Encoding header case insensitive per RFC 2616.
-- the incetive for this being that with self.assertEqual you get an error message if the test fails
Support CJK parameters when post files
Small changes to make the code more PEP8 compliant
Fix the cheeseshop mirror url from pip.kennethreitz to crate.io