OrderedDict no longer in compat.py as it's in collections in Py2.7+

This commit is contained in:
hugovk
2017-10-17 20:29:33 +03:00
parent 946f136715
commit 9146b62d31
+3
View File
@@ -3,6 +3,9 @@
- Support for Python 2.6 has been dropped.
- The ``OrderedDict`` import no longer exists in compat.py because it is part
of ``collections`` in Python 2.7 and newer.
- Simplified logic for determining Content-Length and Transfer-Encoding.
Requests will now avoid setting both headers on the same request, and
raise an exception if this is done manually by a user.