rigid 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/bin/rigid +4 -0
- data/rigid +16 -0
- data/vendor/PyYAML-3.12.dist-info/DESCRIPTION.rst +12 -0
- data/vendor/PyYAML-3.12.dist-info/INSTALLER +1 -0
- data/vendor/PyYAML-3.12.dist-info/METADATA +35 -0
- data/vendor/PyYAML-3.12.dist-info/RECORD +42 -0
- data/vendor/PyYAML-3.12.dist-info/WHEEL +5 -0
- data/vendor/PyYAML-3.12.dist-info/metadata.json +1 -0
- data/vendor/PyYAML-3.12.dist-info/top_level.txt +2 -0
- data/vendor/_yaml.so +0 -0
- data/vendor/click/__init__.py +98 -0
- data/vendor/click/__init__.pyc +0 -0
- data/vendor/click/_bashcomplete.py +83 -0
- data/vendor/click/_bashcomplete.pyc +0 -0
- data/vendor/click/_compat.py +642 -0
- data/vendor/click/_compat.pyc +0 -0
- data/vendor/click/_termui_impl.py +547 -0
- data/vendor/click/_termui_impl.pyc +0 -0
- data/vendor/click/_textwrap.py +38 -0
- data/vendor/click/_textwrap.pyc +0 -0
- data/vendor/click/_unicodefun.py +119 -0
- data/vendor/click/_unicodefun.pyc +0 -0
- data/vendor/click/_winconsole.py +273 -0
- data/vendor/click/_winconsole.pyc +0 -0
- data/vendor/click/core.py +1738 -0
- data/vendor/click/core.pyc +0 -0
- data/vendor/click/decorators.py +304 -0
- data/vendor/click/decorators.pyc +0 -0
- data/vendor/click/exceptions.py +201 -0
- data/vendor/click/exceptions.pyc +0 -0
- data/vendor/click/formatting.py +256 -0
- data/vendor/click/formatting.pyc +0 -0
- data/vendor/click/globals.py +48 -0
- data/vendor/click/globals.pyc +0 -0
- data/vendor/click/parser.py +426 -0
- data/vendor/click/parser.pyc +0 -0
- data/vendor/click/termui.py +539 -0
- data/vendor/click/termui.pyc +0 -0
- data/vendor/click/testing.py +322 -0
- data/vendor/click/testing.pyc +0 -0
- data/vendor/click/types.py +550 -0
- data/vendor/click/types.pyc +0 -0
- data/vendor/click/utils.py +415 -0
- data/vendor/click/utils.pyc +0 -0
- data/vendor/click-6.6.dist-info/DESCRIPTION.rst +3 -0
- data/vendor/click-6.6.dist-info/INSTALLER +1 -0
- data/vendor/click-6.6.dist-info/METADATA +16 -0
- data/vendor/click-6.6.dist-info/RECORD +41 -0
- data/vendor/click-6.6.dist-info/WHEEL +6 -0
- data/vendor/click-6.6.dist-info/metadata.json +1 -0
- data/vendor/click-6.6.dist-info/top_level.txt +1 -0
- data/vendor/easy_install.py +5 -0
- data/vendor/easy_install.pyc +0 -0
- data/vendor/pip-9.0.1.dist-info/DESCRIPTION.rst +39 -0
- data/vendor/pip-9.0.1.dist-info/INSTALLER +1 -0
- data/vendor/pip-9.0.1.dist-info/METADATA +69 -0
- data/vendor/pip-9.0.1.dist-info/RECORD +501 -0
- data/vendor/pip-9.0.1.dist-info/WHEEL +6 -0
- data/vendor/pip-9.0.1.dist-info/entry_points.txt +5 -0
- data/vendor/pip-9.0.1.dist-info/metadata.json +1 -0
- data/vendor/pip-9.0.1.dist-info/top_level.txt +1 -0
- data/vendor/pkg_resources/__init__.py +3051 -0
- data/vendor/pkg_resources/__init__.pyc +0 -0
- data/vendor/pkg_resources/_vendor/__init__.py +0 -0
- data/vendor/pkg_resources/_vendor/__init__.pyc +0 -0
- data/vendor/pkg_resources/_vendor/appdirs.py +552 -0
- data/vendor/pkg_resources/_vendor/appdirs.pyc +0 -0
- data/vendor/pkg_resources/_vendor/packaging/__about__.py +21 -0
- data/vendor/pkg_resources/_vendor/packaging/__about__.pyc +0 -0
- data/vendor/pkg_resources/_vendor/packaging/__init__.py +14 -0
- data/vendor/pkg_resources/_vendor/packaging/__init__.pyc +0 -0
- data/vendor/pkg_resources/_vendor/packaging/_compat.py +30 -0
- data/vendor/pkg_resources/_vendor/packaging/_compat.pyc +0 -0
- data/vendor/pkg_resources/_vendor/packaging/_structures.py +68 -0
- data/vendor/pkg_resources/_vendor/packaging/_structures.pyc +0 -0
- data/vendor/pkg_resources/_vendor/packaging/markers.py +287 -0
- data/vendor/pkg_resources/_vendor/packaging/markers.pyc +0 -0
- data/vendor/pkg_resources/_vendor/packaging/requirements.py +127 -0
- data/vendor/pkg_resources/_vendor/packaging/requirements.pyc +0 -0
- data/vendor/pkg_resources/_vendor/packaging/specifiers.py +774 -0
- data/vendor/pkg_resources/_vendor/packaging/specifiers.pyc +0 -0
- data/vendor/pkg_resources/_vendor/packaging/utils.py +14 -0
- data/vendor/pkg_resources/_vendor/packaging/utils.pyc +0 -0
- data/vendor/pkg_resources/_vendor/packaging/version.py +393 -0
- data/vendor/pkg_resources/_vendor/packaging/version.pyc +0 -0
- data/vendor/pkg_resources/_vendor/pyparsing.py +5696 -0
- data/vendor/pkg_resources/_vendor/pyparsing.pyc +0 -0
- data/vendor/pkg_resources/_vendor/six.py +868 -0
- data/vendor/pkg_resources/_vendor/six.pyc +0 -0
- data/vendor/pkg_resources/extern/__init__.py +73 -0
- data/vendor/pkg_resources/extern/__init__.pyc +0 -0
- data/vendor/requests/__init__.py +86 -0
- data/vendor/requests/__init__.pyc +0 -0
- data/vendor/requests/adapters.py +503 -0
- data/vendor/requests/adapters.pyc +0 -0
- data/vendor/requests/api.py +148 -0
- data/vendor/requests/api.pyc +0 -0
- data/vendor/requests/auth.py +252 -0
- data/vendor/requests/auth.pyc +0 -0
- data/vendor/requests/cacert.pem +5616 -0
- data/vendor/requests/certs.py +25 -0
- data/vendor/requests/certs.pyc +0 -0
- data/vendor/requests/compat.py +66 -0
- data/vendor/requests/compat.pyc +0 -0
- data/vendor/requests/cookies.py +540 -0
- data/vendor/requests/cookies.pyc +0 -0
- data/vendor/requests/exceptions.py +114 -0
- data/vendor/requests/exceptions.pyc +0 -0
- data/vendor/requests/hooks.py +34 -0
- data/vendor/requests/hooks.pyc +0 -0
- data/vendor/requests/models.py +873 -0
- data/vendor/requests/models.pyc +0 -0
- data/vendor/requests/packages/__init__.py +36 -0
- data/vendor/requests/packages/__init__.pyc +0 -0
- data/vendor/requests/packages/chardet/__init__.py +32 -0
- data/vendor/requests/packages/chardet/__init__.pyc +0 -0
- data/vendor/requests/packages/chardet/big5freq.py +925 -0
- data/vendor/requests/packages/chardet/big5freq.pyc +0 -0
- data/vendor/requests/packages/chardet/big5prober.py +42 -0
- data/vendor/requests/packages/chardet/big5prober.pyc +0 -0
- data/vendor/requests/packages/chardet/chardetect.py +80 -0
- data/vendor/requests/packages/chardet/chardetect.pyc +0 -0
- data/vendor/requests/packages/chardet/chardistribution.py +231 -0
- data/vendor/requests/packages/chardet/chardistribution.pyc +0 -0
- data/vendor/requests/packages/chardet/charsetgroupprober.py +106 -0
- data/vendor/requests/packages/chardet/charsetgroupprober.pyc +0 -0
- data/vendor/requests/packages/chardet/charsetprober.py +62 -0
- data/vendor/requests/packages/chardet/charsetprober.pyc +0 -0
- data/vendor/requests/packages/chardet/codingstatemachine.py +61 -0
- data/vendor/requests/packages/chardet/codingstatemachine.pyc +0 -0
- data/vendor/requests/packages/chardet/compat.py +34 -0
- data/vendor/requests/packages/chardet/compat.pyc +0 -0
- data/vendor/requests/packages/chardet/constants.py +39 -0
- data/vendor/requests/packages/chardet/constants.pyc +0 -0
- data/vendor/requests/packages/chardet/cp949prober.py +44 -0
- data/vendor/requests/packages/chardet/cp949prober.pyc +0 -0
- data/vendor/requests/packages/chardet/escprober.py +86 -0
- data/vendor/requests/packages/chardet/escprober.pyc +0 -0
- data/vendor/requests/packages/chardet/escsm.py +242 -0
- data/vendor/requests/packages/chardet/escsm.pyc +0 -0
- data/vendor/requests/packages/chardet/eucjpprober.py +90 -0
- data/vendor/requests/packages/chardet/eucjpprober.pyc +0 -0
- data/vendor/requests/packages/chardet/euckrfreq.py +596 -0
- data/vendor/requests/packages/chardet/euckrfreq.pyc +0 -0
- data/vendor/requests/packages/chardet/euckrprober.py +42 -0
- data/vendor/requests/packages/chardet/euckrprober.pyc +0 -0
- data/vendor/requests/packages/chardet/euctwfreq.py +428 -0
- data/vendor/requests/packages/chardet/euctwfreq.pyc +0 -0
- data/vendor/requests/packages/chardet/euctwprober.py +41 -0
- data/vendor/requests/packages/chardet/euctwprober.pyc +0 -0
- data/vendor/requests/packages/chardet/gb2312freq.py +472 -0
- data/vendor/requests/packages/chardet/gb2312freq.pyc +0 -0
- data/vendor/requests/packages/chardet/gb2312prober.py +41 -0
- data/vendor/requests/packages/chardet/gb2312prober.pyc +0 -0
- data/vendor/requests/packages/chardet/hebrewprober.py +283 -0
- data/vendor/requests/packages/chardet/hebrewprober.pyc +0 -0
- data/vendor/requests/packages/chardet/jisfreq.py +569 -0
- data/vendor/requests/packages/chardet/jisfreq.pyc +0 -0
- data/vendor/requests/packages/chardet/jpcntx.py +227 -0
- data/vendor/requests/packages/chardet/jpcntx.pyc +0 -0
- data/vendor/requests/packages/chardet/langbulgarianmodel.py +229 -0
- data/vendor/requests/packages/chardet/langbulgarianmodel.pyc +0 -0
- data/vendor/requests/packages/chardet/langcyrillicmodel.py +329 -0
- data/vendor/requests/packages/chardet/langcyrillicmodel.pyc +0 -0
- data/vendor/requests/packages/chardet/langgreekmodel.py +225 -0
- data/vendor/requests/packages/chardet/langgreekmodel.pyc +0 -0
- data/vendor/requests/packages/chardet/langhebrewmodel.py +201 -0
- data/vendor/requests/packages/chardet/langhebrewmodel.pyc +0 -0
- data/vendor/requests/packages/chardet/langhungarianmodel.py +225 -0
- data/vendor/requests/packages/chardet/langhungarianmodel.pyc +0 -0
- data/vendor/requests/packages/chardet/langthaimodel.py +200 -0
- data/vendor/requests/packages/chardet/langthaimodel.pyc +0 -0
- data/vendor/requests/packages/chardet/latin1prober.py +139 -0
- data/vendor/requests/packages/chardet/latin1prober.pyc +0 -0
- data/vendor/requests/packages/chardet/mbcharsetprober.py +86 -0
- data/vendor/requests/packages/chardet/mbcharsetprober.pyc +0 -0
- data/vendor/requests/packages/chardet/mbcsgroupprober.py +54 -0
- data/vendor/requests/packages/chardet/mbcsgroupprober.pyc +0 -0
- data/vendor/requests/packages/chardet/mbcssm.py +572 -0
- data/vendor/requests/packages/chardet/mbcssm.pyc +0 -0
- data/vendor/requests/packages/chardet/sbcharsetprober.py +120 -0
- data/vendor/requests/packages/chardet/sbcharsetprober.pyc +0 -0
- data/vendor/requests/packages/chardet/sbcsgroupprober.py +69 -0
- data/vendor/requests/packages/chardet/sbcsgroupprober.pyc +0 -0
- data/vendor/requests/packages/chardet/sjisprober.py +91 -0
- data/vendor/requests/packages/chardet/sjisprober.pyc +0 -0
- data/vendor/requests/packages/chardet/universaldetector.py +170 -0
- data/vendor/requests/packages/chardet/universaldetector.pyc +0 -0
- data/vendor/requests/packages/chardet/utf8prober.py +76 -0
- data/vendor/requests/packages/chardet/utf8prober.pyc +0 -0
- data/vendor/requests/packages/urllib3/__init__.py +96 -0
- data/vendor/requests/packages/urllib3/__init__.pyc +0 -0
- data/vendor/requests/packages/urllib3/_collections.py +324 -0
- data/vendor/requests/packages/urllib3/_collections.pyc +0 -0
- data/vendor/requests/packages/urllib3/connection.py +330 -0
- data/vendor/requests/packages/urllib3/connection.pyc +0 -0
- data/vendor/requests/packages/urllib3/connectionpool.py +866 -0
- data/vendor/requests/packages/urllib3/connectionpool.pyc +0 -0
- data/vendor/requests/packages/urllib3/contrib/__init__.py +0 -0
- data/vendor/requests/packages/urllib3/contrib/__init__.pyc +0 -0
- data/vendor/requests/packages/urllib3/contrib/appengine.py +231 -0
- data/vendor/requests/packages/urllib3/contrib/appengine.pyc +0 -0
- data/vendor/requests/packages/urllib3/contrib/ntlmpool.py +115 -0
- data/vendor/requests/packages/urllib3/contrib/ntlmpool.pyc +0 -0
- data/vendor/requests/packages/urllib3/contrib/pyopenssl.py +358 -0
- data/vendor/requests/packages/urllib3/contrib/pyopenssl.pyc +0 -0
- data/vendor/requests/packages/urllib3/contrib/socks.py +172 -0
- data/vendor/requests/packages/urllib3/contrib/socks.pyc +0 -0
- data/vendor/requests/packages/urllib3/exceptions.py +209 -0
- data/vendor/requests/packages/urllib3/exceptions.pyc +0 -0
- data/vendor/requests/packages/urllib3/fields.py +178 -0
- data/vendor/requests/packages/urllib3/fields.pyc +0 -0
- data/vendor/requests/packages/urllib3/filepost.py +94 -0
- data/vendor/requests/packages/urllib3/filepost.pyc +0 -0
- data/vendor/requests/packages/urllib3/packages/__init__.py +5 -0
- data/vendor/requests/packages/urllib3/packages/__init__.pyc +0 -0
- data/vendor/requests/packages/urllib3/packages/ordered_dict.py +259 -0
- data/vendor/requests/packages/urllib3/packages/ordered_dict.pyc +0 -0
- data/vendor/requests/packages/urllib3/packages/six.py +868 -0
- data/vendor/requests/packages/urllib3/packages/six.pyc +0 -0
- data/vendor/requests/packages/urllib3/packages/ssl_match_hostname/__init__.py +13 -0
- data/vendor/requests/packages/urllib3/packages/ssl_match_hostname/__init__.pyc +0 -0
- data/vendor/requests/packages/urllib3/packages/ssl_match_hostname/_implementation.py +105 -0
- data/vendor/requests/packages/urllib3/packages/ssl_match_hostname/_implementation.pyc +0 -0
- data/vendor/requests/packages/urllib3/poolmanager.py +367 -0
- data/vendor/requests/packages/urllib3/poolmanager.pyc +0 -0
- data/vendor/requests/packages/urllib3/request.py +151 -0
- data/vendor/requests/packages/urllib3/request.pyc +0 -0
- data/vendor/requests/packages/urllib3/response.py +530 -0
- data/vendor/requests/packages/urllib3/response.pyc +0 -0
- data/vendor/requests/packages/urllib3/util/__init__.py +46 -0
- data/vendor/requests/packages/urllib3/util/__init__.pyc +0 -0
- data/vendor/requests/packages/urllib3/util/connection.py +144 -0
- data/vendor/requests/packages/urllib3/util/connection.pyc +0 -0
- data/vendor/requests/packages/urllib3/util/request.py +72 -0
- data/vendor/requests/packages/urllib3/util/request.pyc +0 -0
- data/vendor/requests/packages/urllib3/util/response.py +74 -0
- data/vendor/requests/packages/urllib3/util/response.pyc +0 -0
- data/vendor/requests/packages/urllib3/util/retry.py +300 -0
- data/vendor/requests/packages/urllib3/util/retry.pyc +0 -0
- data/vendor/requests/packages/urllib3/util/ssl_.py +320 -0
- data/vendor/requests/packages/urllib3/util/ssl_.pyc +0 -0
- data/vendor/requests/packages/urllib3/util/timeout.py +242 -0
- data/vendor/requests/packages/urllib3/util/timeout.pyc +0 -0
- data/vendor/requests/packages/urllib3/util/url.py +217 -0
- data/vendor/requests/packages/urllib3/util/url.pyc +0 -0
- data/vendor/requests/sessions.py +712 -0
- data/vendor/requests/sessions.pyc +0 -0
- data/vendor/requests/status_codes.py +91 -0
- data/vendor/requests/status_codes.pyc +0 -0
- data/vendor/requests/structures.py +105 -0
- data/vendor/requests/structures.pyc +0 -0
- data/vendor/requests/utils.py +817 -0
- data/vendor/requests/utils.pyc +0 -0
- data/vendor/requests-2.11.1.dist-info/DESCRIPTION.rst +1294 -0
- data/vendor/requests-2.11.1.dist-info/INSTALLER +1 -0
- data/vendor/requests-2.11.1.dist-info/METADATA +1323 -0
- data/vendor/requests-2.11.1.dist-info/RECORD +170 -0
- data/vendor/requests-2.11.1.dist-info/WHEEL +6 -0
- data/vendor/requests-2.11.1.dist-info/metadata.json +1 -0
- data/vendor/requests-2.11.1.dist-info/top_level.txt +1 -0
- data/vendor/rigid/__init__.py +1 -0
- data/vendor/rigid/__init__.pyc +0 -0
- data/vendor/rigid/api.py +129 -0
- data/vendor/rigid/api.pyc +0 -0
- data/vendor/rigid/commands/__init__.py +260 -0
- data/vendor/rigid/commands/__init__.pyc +0 -0
- data/vendor/rigid/commands/deploy.py +0 -0
- data/vendor/rigid/commands/deploy.pyc +0 -0
- data/vendor/rigid/deploy.py +70 -0
- data/vendor/rigid/deploy.pyc +0 -0
- data/vendor/rigid/file_scanner.py +63 -0
- data/vendor/rigid/file_scanner.pyc +0 -0
- data/vendor/rigid/utils.py +17 -0
- data/vendor/rigid/utils.pyc +0 -0
- data/vendor/rigid-0.2.0.dist-info/DESCRIPTION.rst +3 -0
- data/vendor/rigid-0.2.0.dist-info/INSTALLER +1 -0
- data/vendor/rigid-0.2.0.dist-info/METADATA +23 -0
- data/vendor/rigid-0.2.0.dist-info/RECORD +49 -0
- data/vendor/rigid-0.2.0.dist-info/WHEEL +5 -0
- data/vendor/rigid-0.2.0.dist-info/entry_points.txt +3 -0
- data/vendor/rigid-0.2.0.dist-info/metadata.json +1 -0
- data/vendor/rigid-0.2.0.dist-info/top_level.txt +2 -0
- data/vendor/setuptools-28.8.0.dist-info/DESCRIPTION.rst +243 -0
- data/vendor/setuptools-28.8.0.dist-info/INSTALLER +1 -0
- data/vendor/setuptools-28.8.0.dist-info/METADATA +272 -0
- data/vendor/setuptools-28.8.0.dist-info/RECORD +143 -0
- data/vendor/setuptools-28.8.0.dist-info/WHEEL +6 -0
- data/vendor/setuptools-28.8.0.dist-info/dependency_links.txt +2 -0
- data/vendor/setuptools-28.8.0.dist-info/entry_points.txt +63 -0
- data/vendor/setuptools-28.8.0.dist-info/metadata.json +1 -0
- data/vendor/setuptools-28.8.0.dist-info/top_level.txt +3 -0
- data/vendor/setuptools-28.8.0.dist-info/zip-safe +1 -0
- data/vendor/tests/__init__.py +0 -0
- data/vendor/tests/__init__.pyc +0 -0
- data/vendor/tests/integration/__init__.py +0 -0
- data/vendor/tests/integration/__init__.pyc +0 -0
- data/vendor/tests/integration/test_app.py +63 -0
- data/vendor/tests/integration/test_app.pyc +0 -0
- data/vendor/tests/integration/test_apps.py +27 -0
- data/vendor/tests/integration/test_apps.pyc +0 -0
- data/vendor/tests/integration/test_deploy.py +128 -0
- data/vendor/tests/integration/test_deploy.pyc +0 -0
- data/vendor/tests/integration/test_domains.py +35 -0
- data/vendor/tests/integration/test_domains.pyc +0 -0
- data/vendor/tests/integration/test_login.py +37 -0
- data/vendor/tests/integration/test_login.pyc +0 -0
- data/vendor/tests/integration/test_promote.py +24 -0
- data/vendor/tests/integration/test_promote.pyc +0 -0
- data/vendor/tests/integration/test_token.py +33 -0
- data/vendor/tests/integration/test_token.pyc +0 -0
- data/vendor/tests/integration/test_whoami.py +24 -0
- data/vendor/tests/integration/test_whoami.pyc +0 -0
- data/vendor/tests/test_deploy.py +33 -0
- data/vendor/tests/test_deploy.pyc +0 -0
- data/vendor/tests/test_file_scanner.py +89 -0
- data/vendor/tests/test_file_scanner.pyc +0 -0
- data/vendor/tests/utils.py +78 -0
- data/vendor/tests/utils.pyc +0 -0
- data/vendor/wheel-0.30.0a0.dist-info/DESCRIPTION.rst +325 -0
- data/vendor/wheel-0.30.0a0.dist-info/INSTALLER +1 -0
- data/vendor/wheel-0.30.0a0.dist-info/LICENSE.txt +22 -0
- data/vendor/wheel-0.30.0a0.dist-info/METADATA +357 -0
- data/vendor/wheel-0.30.0a0.dist-info/RECORD +86 -0
- data/vendor/wheel-0.30.0a0.dist-info/WHEEL +6 -0
- data/vendor/wheel-0.30.0a0.dist-info/entry_points.txt +6 -0
- data/vendor/wheel-0.30.0a0.dist-info/metadata.json +1 -0
- data/vendor/wheel-0.30.0a0.dist-info/top_level.txt +1 -0
- data/vendor/yaml/__init__.py +315 -0
- data/vendor/yaml/__init__.pyc +0 -0
- data/vendor/yaml/composer.py +139 -0
- data/vendor/yaml/composer.pyc +0 -0
- data/vendor/yaml/constructor.py +675 -0
- data/vendor/yaml/constructor.pyc +0 -0
- data/vendor/yaml/cyaml.py +85 -0
- data/vendor/yaml/cyaml.pyc +0 -0
- data/vendor/yaml/dumper.py +62 -0
- data/vendor/yaml/dumper.pyc +0 -0
- data/vendor/yaml/emitter.py +1140 -0
- data/vendor/yaml/emitter.pyc +0 -0
- data/vendor/yaml/error.py +75 -0
- data/vendor/yaml/error.pyc +0 -0
- data/vendor/yaml/events.py +86 -0
- data/vendor/yaml/events.pyc +0 -0
- data/vendor/yaml/loader.py +40 -0
- data/vendor/yaml/loader.pyc +0 -0
- data/vendor/yaml/nodes.py +49 -0
- data/vendor/yaml/nodes.pyc +0 -0
- data/vendor/yaml/parser.py +589 -0
- data/vendor/yaml/parser.pyc +0 -0
- data/vendor/yaml/reader.py +190 -0
- data/vendor/yaml/reader.pyc +0 -0
- data/vendor/yaml/representer.py +486 -0
- data/vendor/yaml/representer.pyc +0 -0
- data/vendor/yaml/resolver.py +227 -0
- data/vendor/yaml/resolver.pyc +0 -0
- data/vendor/yaml/scanner.py +1453 -0
- data/vendor/yaml/scanner.pyc +0 -0
- data/vendor/yaml/serializer.py +111 -0
- data/vendor/yaml/serializer.pyc +0 -0
- data/vendor/yaml/tokens.py +104 -0
- data/vendor/yaml/tokens.pyc +0 -0
- metadata +407 -0
@@ -0,0 +1,1294 @@
|
|
1
|
+
Requests: HTTP for Humans
|
2
|
+
=========================
|
3
|
+
|
4
|
+
.. image:: https://img.shields.io/pypi/v/requests.svg
|
5
|
+
:target: https://pypi.python.org/pypi/requests
|
6
|
+
|
7
|
+
Requests is the only *Non-GMO* HTTP library for Python, safe for human
|
8
|
+
consumption.
|
9
|
+
|
10
|
+
**Warning:** Recreational use of other HTTP libraries may result in dangerous side-effects,
|
11
|
+
including: security vulnerabilities, verbose code, reinventing the wheel,
|
12
|
+
constantly reading documentation, depression, headaches, or even death.
|
13
|
+
|
14
|
+
Behold, the power of Requests:
|
15
|
+
|
16
|
+
.. code-block:: python
|
17
|
+
|
18
|
+
>>> r = requests.get('https://api.github.com/user', auth=('user', 'pass'))
|
19
|
+
>>> r.status_code
|
20
|
+
200
|
21
|
+
>>> r.headers['content-type']
|
22
|
+
'application/json; charset=utf8'
|
23
|
+
>>> r.encoding
|
24
|
+
'utf-8'
|
25
|
+
>>> r.text
|
26
|
+
u'{"type":"User"...'
|
27
|
+
>>> r.json()
|
28
|
+
{u'disk_usage': 368627, u'private_gists': 484, ...}
|
29
|
+
|
30
|
+
See `the similar code, sans Requests <https://gist.github.com/973705>`_.
|
31
|
+
|
32
|
+
Requests allows you to send *organic, grass-fed* HTTP/1.1 requests, without the
|
33
|
+
need for manual labor. There's no need to manually add query strings to your
|
34
|
+
URLs, or to form-encode your POST data. Keep-alive and HTTP connection pooling
|
35
|
+
are 100% automatic, powered by `urllib3 <https://github.com/shazow/urllib3>`_,
|
36
|
+
which is embedded within Requests.
|
37
|
+
|
38
|
+
Besides, all the cool kids are doing it. Requests is one of the most
|
39
|
+
downloaded Python packages of all time, pulling in over 7,000,000 downloads
|
40
|
+
every month. You don't want to be left out!
|
41
|
+
|
42
|
+
Feature Support
|
43
|
+
---------------
|
44
|
+
|
45
|
+
Requests is ready for today's web.
|
46
|
+
|
47
|
+
- International Domains and URLs
|
48
|
+
- Keep-Alive & Connection Pooling
|
49
|
+
- Sessions with Cookie Persistence
|
50
|
+
- Browser-style SSL Verification
|
51
|
+
- Basic/Digest Authentication
|
52
|
+
- Elegant Key/Value Cookies
|
53
|
+
- Automatic Decompression
|
54
|
+
- Automatic Content Decoding
|
55
|
+
- Unicode Response Bodies
|
56
|
+
- Multipart File Uploads
|
57
|
+
- HTTP(S) Proxy Support
|
58
|
+
- Connection Timeouts
|
59
|
+
- Streaming Downloads
|
60
|
+
- ``.netrc`` Support
|
61
|
+
- Chunked Requests
|
62
|
+
- Thread-safety
|
63
|
+
|
64
|
+
Requests officially supports Python 2.6–2.7 & 3.3–3.5, and runs great on PyPy.
|
65
|
+
|
66
|
+
Installation
|
67
|
+
------------
|
68
|
+
|
69
|
+
To install Requests, simply:
|
70
|
+
|
71
|
+
.. code-block:: bash
|
72
|
+
|
73
|
+
$ pip install requests
|
74
|
+
✨🍰✨
|
75
|
+
|
76
|
+
Satisfaction, guaranteed.
|
77
|
+
|
78
|
+
Documentation
|
79
|
+
-------------
|
80
|
+
|
81
|
+
Fantastic documentation is available at http://docs.python-requests.org/, for a limited time only.
|
82
|
+
|
83
|
+
|
84
|
+
How to Contribute
|
85
|
+
-----------------
|
86
|
+
|
87
|
+
#. Check for open issues or open a fresh issue to start a discussion around a feature idea or a bug. There is a `Contributor Friendly`_ tag for issues that should be ideal for people who are not very familiar with the codebase yet.
|
88
|
+
#. Fork `the repository`_ on GitHub to start making your changes to the **master** branch (or branch off of it).
|
89
|
+
#. Write a test which shows that the bug was fixed or that the feature works as expected.
|
90
|
+
#. Send a pull request and bug the maintainer until it gets merged and published. :) Make sure to add yourself to AUTHORS_.
|
91
|
+
|
92
|
+
.. _`the repository`: http://github.com/kennethreitz/requests
|
93
|
+
.. _AUTHORS: https://github.com/kennethreitz/requests/blob/master/AUTHORS.rst
|
94
|
+
.. _Contributor Friendly: https://github.com/kennethreitz/requests/issues?direction=desc&labels=Contributor+Friendly&page=1&sort=updated&state=open
|
95
|
+
|
96
|
+
|
97
|
+
.. :changelog:
|
98
|
+
|
99
|
+
Release History
|
100
|
+
---------------
|
101
|
+
|
102
|
+
2.11.1 (2016-08-17)
|
103
|
+
+++++++++++++++++++
|
104
|
+
|
105
|
+
**Bugfixes**
|
106
|
+
|
107
|
+
- Fixed a bug when using ``iter_content`` with ``decode_unicode=True`` for
|
108
|
+
streamed bodies would raise ``AttributeError``. This bug was introduced in
|
109
|
+
2.11.
|
110
|
+
- Strip Content-Type and Transfer-Encoding headers from the header block when
|
111
|
+
following a redirect that transforms the verb from POST/PUT to GET.
|
112
|
+
|
113
|
+
2.11.0 (2016-08-08)
|
114
|
+
+++++++++++++++++++
|
115
|
+
|
116
|
+
**Improvements**
|
117
|
+
|
118
|
+
- Added support for the ``ALL_PROXY`` environment variable.
|
119
|
+
- Reject header values that contain leading whitespace or newline characters to
|
120
|
+
reduce risk of header smuggling.
|
121
|
+
|
122
|
+
**Bugfixes**
|
123
|
+
|
124
|
+
- Fixed occasional ``TypeError`` when attempting to decode a JSON response that
|
125
|
+
occurred in an error case. Now correctly returns a ``ValueError``.
|
126
|
+
- Requests would incorrectly ignore a non-CIDR IP address in the ``NO_PROXY``
|
127
|
+
environment variables: Requests now treats it as a specific IP.
|
128
|
+
- Fixed a bug when sending JSON data that could cause us to encounter obscure
|
129
|
+
OpenSSL errors in certain network conditions (yes, really).
|
130
|
+
- Added type checks to ensure that ``iter_content`` only accepts integers and
|
131
|
+
``None`` for chunk sizes.
|
132
|
+
- Fixed issue where responses whose body had not been fully consumed would have
|
133
|
+
the underlying connection closed but not returned to the connection pool,
|
134
|
+
which could cause Requests to hang in situations where the ``HTTPAdapter``
|
135
|
+
had been configured to use a blocking connection pool.
|
136
|
+
|
137
|
+
**Miscellaneous**
|
138
|
+
|
139
|
+
- Updated bundled urllib3 to 1.16.
|
140
|
+
- Some previous releases accidentally accepted non-strings as acceptable header values. This release does not.
|
141
|
+
|
142
|
+
2.10.0 (2016-04-29)
|
143
|
+
+++++++++++++++++++
|
144
|
+
|
145
|
+
**New Features**
|
146
|
+
|
147
|
+
- SOCKS Proxy Support! (requires PySocks; $ pip install requests[socks])
|
148
|
+
|
149
|
+
**Miscellaneous**
|
150
|
+
|
151
|
+
- Updated bundled urllib3 to 1.15.1.
|
152
|
+
|
153
|
+
2.9.2 (2016-04-29)
|
154
|
+
++++++++++++++++++
|
155
|
+
|
156
|
+
**Improvements**
|
157
|
+
|
158
|
+
- Change built-in CaseInsensitiveDict (used for headers) to use OrderedDict
|
159
|
+
as its underlying datastore.
|
160
|
+
|
161
|
+
**Bugfixes**
|
162
|
+
|
163
|
+
- Don't use redirect_cache if allow_redirects=False
|
164
|
+
- When passed objects that throw exceptions from ``tell()``, send them via
|
165
|
+
chunked transfer encoding instead of failing.
|
166
|
+
- Raise a ProxyError for proxy related connection issues.
|
167
|
+
|
168
|
+
2.9.1 (2015-12-21)
|
169
|
+
++++++++++++++++++
|
170
|
+
|
171
|
+
**Bugfixes**
|
172
|
+
|
173
|
+
- Resolve regression introduced in 2.9.0 that made it impossible to send binary
|
174
|
+
strings as bodies in Python 3.
|
175
|
+
- Fixed errors when calculating cookie expiration dates in certain locales.
|
176
|
+
|
177
|
+
**Miscellaneous**
|
178
|
+
|
179
|
+
- Updated bundled urllib3 to 1.13.1.
|
180
|
+
|
181
|
+
2.9.0 (2015-12-15)
|
182
|
+
++++++++++++++++++
|
183
|
+
|
184
|
+
**Minor Improvements** (Backwards compatible)
|
185
|
+
|
186
|
+
- The ``verify`` keyword argument now supports being passed a path to a
|
187
|
+
directory of CA certificates, not just a single-file bundle.
|
188
|
+
- Warnings are now emitted when sending files opened in text mode.
|
189
|
+
- Added the 511 Network Authentication Required status code to the status code
|
190
|
+
registry.
|
191
|
+
|
192
|
+
**Bugfixes**
|
193
|
+
|
194
|
+
- For file-like objects that are not seeked to the very beginning, we now
|
195
|
+
send the content length for the number of bytes we will actually read, rather
|
196
|
+
than the total size of the file, allowing partial file uploads.
|
197
|
+
- When uploading file-like objects, if they are empty or have no obvious
|
198
|
+
content length we set ``Transfer-Encoding: chunked`` rather than
|
199
|
+
``Content-Length: 0``.
|
200
|
+
- We correctly receive the response in buffered mode when uploading chunked
|
201
|
+
bodies.
|
202
|
+
- We now handle being passed a query string as a bytestring on Python 3, by
|
203
|
+
decoding it as UTF-8.
|
204
|
+
- Sessions are now closed in all cases (exceptional and not) when using the
|
205
|
+
functional API rather than leaking and waiting for the garbage collector to
|
206
|
+
clean them up.
|
207
|
+
- Correctly handle digest auth headers with a malformed ``qop`` directive that
|
208
|
+
contains no token, by treating it the same as if no ``qop`` directive was
|
209
|
+
provided at all.
|
210
|
+
- Minor performance improvements when removing specific cookies by name.
|
211
|
+
|
212
|
+
**Miscellaneous**
|
213
|
+
|
214
|
+
- Updated urllib3 to 1.13.
|
215
|
+
|
216
|
+
2.8.1 (2015-10-13)
|
217
|
+
++++++++++++++++++
|
218
|
+
|
219
|
+
**Bugfixes**
|
220
|
+
|
221
|
+
- Update certificate bundle to match ``certifi`` 2015.9.6.2's weak certificate
|
222
|
+
bundle.
|
223
|
+
- Fix a bug in 2.8.0 where requests would raise ``ConnectTimeout`` instead of
|
224
|
+
``ConnectionError``
|
225
|
+
- When using the PreparedRequest flow, requests will now correctly respect the
|
226
|
+
``json`` parameter. Broken in 2.8.0.
|
227
|
+
- When using the PreparedRequest flow, requests will now correctly handle a
|
228
|
+
Unicode-string method name on Python 2. Broken in 2.8.0.
|
229
|
+
|
230
|
+
2.8.0 (2015-10-05)
|
231
|
+
++++++++++++++++++
|
232
|
+
|
233
|
+
**Minor Improvements** (Backwards Compatible)
|
234
|
+
|
235
|
+
- Requests now supports per-host proxies. This allows the ``proxies``
|
236
|
+
dictionary to have entries of the form
|
237
|
+
``{'<scheme>://<hostname>': '<proxy>'}``. Host-specific proxies will be used
|
238
|
+
in preference to the previously-supported scheme-specific ones, but the
|
239
|
+
previous syntax will continue to work.
|
240
|
+
- ``Response.raise_for_status`` now prints the URL that failed as part of the
|
241
|
+
exception message.
|
242
|
+
- ``requests.utils.get_netrc_auth`` now takes an ``raise_errors`` kwarg,
|
243
|
+
defaulting to ``False``. When ``True``, errors parsing ``.netrc`` files cause
|
244
|
+
exceptions to be thrown.
|
245
|
+
- Change to bundled projects import logic to make it easier to unbundle
|
246
|
+
requests downstream.
|
247
|
+
- Changed the default User-Agent string to avoid leaking data on Linux: now
|
248
|
+
contains only the requests version.
|
249
|
+
|
250
|
+
**Bugfixes**
|
251
|
+
|
252
|
+
- The ``json`` parameter to ``post()`` and friends will now only be used if
|
253
|
+
neither ``data`` nor ``files`` are present, consistent with the
|
254
|
+
documentation.
|
255
|
+
- We now ignore empty fields in the ``NO_PROXY`` environment variable.
|
256
|
+
- Fixed problem where ``httplib.BadStatusLine`` would get raised if combining
|
257
|
+
``stream=True`` with ``contextlib.closing``.
|
258
|
+
- Prevented bugs where we would attempt to return the same connection back to
|
259
|
+
the connection pool twice when sending a Chunked body.
|
260
|
+
- Miscellaneous minor internal changes.
|
261
|
+
- Digest Auth support is now thread safe.
|
262
|
+
|
263
|
+
**Updates**
|
264
|
+
|
265
|
+
- Updated urllib3 to 1.12.
|
266
|
+
|
267
|
+
2.7.0 (2015-05-03)
|
268
|
+
++++++++++++++++++
|
269
|
+
|
270
|
+
This is the first release that follows our new release process. For more, see
|
271
|
+
`our documentation
|
272
|
+
<http://docs.python-requests.org/en/latest/community/release-process/>`_.
|
273
|
+
|
274
|
+
**Bugfixes**
|
275
|
+
|
276
|
+
- Updated urllib3 to 1.10.4, resolving several bugs involving chunked transfer
|
277
|
+
encoding and response framing.
|
278
|
+
|
279
|
+
2.6.2 (2015-04-23)
|
280
|
+
++++++++++++++++++
|
281
|
+
|
282
|
+
**Bugfixes**
|
283
|
+
|
284
|
+
- Fix regression where compressed data that was sent as chunked data was not
|
285
|
+
properly decompressed. (#2561)
|
286
|
+
|
287
|
+
2.6.1 (2015-04-22)
|
288
|
+
++++++++++++++++++
|
289
|
+
|
290
|
+
**Bugfixes**
|
291
|
+
|
292
|
+
- Remove VendorAlias import machinery introduced in v2.5.2.
|
293
|
+
|
294
|
+
- Simplify the PreparedRequest.prepare API: We no longer require the user to
|
295
|
+
pass an empty list to the hooks keyword argument. (c.f. #2552)
|
296
|
+
|
297
|
+
- Resolve redirects now receives and forwards all of the original arguments to
|
298
|
+
the adapter. (#2503)
|
299
|
+
|
300
|
+
- Handle UnicodeDecodeErrors when trying to deal with a unicode URL that
|
301
|
+
cannot be encoded in ASCII. (#2540)
|
302
|
+
|
303
|
+
- Populate the parsed path of the URI field when performing Digest
|
304
|
+
Authentication. (#2426)
|
305
|
+
|
306
|
+
- Copy a PreparedRequest's CookieJar more reliably when it is not an instance
|
307
|
+
of RequestsCookieJar. (#2527)
|
308
|
+
|
309
|
+
2.6.0 (2015-03-14)
|
310
|
+
++++++++++++++++++
|
311
|
+
|
312
|
+
**Bugfixes**
|
313
|
+
|
314
|
+
- CVE-2015-2296: Fix handling of cookies on redirect. Previously a cookie
|
315
|
+
without a host value set would use the hostname for the redirected URL
|
316
|
+
exposing requests users to session fixation attacks and potentially cookie
|
317
|
+
stealing. This was disclosed privately by Matthew Daley of
|
318
|
+
`BugFuzz <https://bugfuzz.com>`_. This affects all versions of requests from
|
319
|
+
v2.1.0 to v2.5.3 (inclusive on both ends).
|
320
|
+
|
321
|
+
- Fix error when requests is an ``install_requires`` dependency and ``python
|
322
|
+
setup.py test`` is run. (#2462)
|
323
|
+
|
324
|
+
- Fix error when urllib3 is unbundled and requests continues to use the
|
325
|
+
vendored import location.
|
326
|
+
|
327
|
+
- Include fixes to ``urllib3``'s header handling.
|
328
|
+
|
329
|
+
- Requests' handling of unvendored dependencies is now more restrictive.
|
330
|
+
|
331
|
+
**Features and Improvements**
|
332
|
+
|
333
|
+
- Support bytearrays when passed as parameters in the ``files`` argument.
|
334
|
+
(#2468)
|
335
|
+
|
336
|
+
- Avoid data duplication when creating a request with ``str``, ``bytes``, or
|
337
|
+
``bytearray`` input to the ``files`` argument.
|
338
|
+
|
339
|
+
2.5.3 (2015-02-24)
|
340
|
+
++++++++++++++++++
|
341
|
+
|
342
|
+
**Bugfixes**
|
343
|
+
|
344
|
+
- Revert changes to our vendored certificate bundle. For more context see
|
345
|
+
(#2455, #2456, and http://bugs.python.org/issue23476)
|
346
|
+
|
347
|
+
2.5.2 (2015-02-23)
|
348
|
+
++++++++++++++++++
|
349
|
+
|
350
|
+
**Features and Improvements**
|
351
|
+
|
352
|
+
- Add sha256 fingerprint support. (`shazow/urllib3#540`_)
|
353
|
+
|
354
|
+
- Improve the performance of headers. (`shazow/urllib3#544`_)
|
355
|
+
|
356
|
+
**Bugfixes**
|
357
|
+
|
358
|
+
- Copy pip's import machinery. When downstream redistributors remove
|
359
|
+
requests.packages.urllib3 the import machinery will continue to let those
|
360
|
+
same symbols work. Example usage in requests' documentation and 3rd-party
|
361
|
+
libraries relying on the vendored copies of urllib3 will work without having
|
362
|
+
to fallback to the system urllib3.
|
363
|
+
|
364
|
+
- Attempt to quote parts of the URL on redirect if unquoting and then quoting
|
365
|
+
fails. (#2356)
|
366
|
+
|
367
|
+
- Fix filename type check for multipart form-data uploads. (#2411)
|
368
|
+
|
369
|
+
- Properly handle the case where a server issuing digest authentication
|
370
|
+
challenges provides both auth and auth-int qop-values. (#2408)
|
371
|
+
|
372
|
+
- Fix a socket leak. (`shazow/urllib3#549`_)
|
373
|
+
|
374
|
+
- Fix multiple ``Set-Cookie`` headers properly. (`shazow/urllib3#534`_)
|
375
|
+
|
376
|
+
- Disable the built-in hostname verification. (`shazow/urllib3#526`_)
|
377
|
+
|
378
|
+
- Fix the behaviour of decoding an exhausted stream. (`shazow/urllib3#535`_)
|
379
|
+
|
380
|
+
**Security**
|
381
|
+
|
382
|
+
- Pulled in an updated ``cacert.pem``.
|
383
|
+
|
384
|
+
- Drop RC4 from the default cipher list. (`shazow/urllib3#551`_)
|
385
|
+
|
386
|
+
.. _shazow/urllib3#551: https://github.com/shazow/urllib3/pull/551
|
387
|
+
.. _shazow/urllib3#549: https://github.com/shazow/urllib3/pull/549
|
388
|
+
.. _shazow/urllib3#544: https://github.com/shazow/urllib3/pull/544
|
389
|
+
.. _shazow/urllib3#540: https://github.com/shazow/urllib3/pull/540
|
390
|
+
.. _shazow/urllib3#535: https://github.com/shazow/urllib3/pull/535
|
391
|
+
.. _shazow/urllib3#534: https://github.com/shazow/urllib3/pull/534
|
392
|
+
.. _shazow/urllib3#526: https://github.com/shazow/urllib3/pull/526
|
393
|
+
|
394
|
+
2.5.1 (2014-12-23)
|
395
|
+
++++++++++++++++++
|
396
|
+
|
397
|
+
**Behavioural Changes**
|
398
|
+
|
399
|
+
- Only catch HTTPErrors in raise_for_status (#2382)
|
400
|
+
|
401
|
+
**Bugfixes**
|
402
|
+
|
403
|
+
- Handle LocationParseError from urllib3 (#2344)
|
404
|
+
- Handle file-like object filenames that are not strings (#2379)
|
405
|
+
- Unbreak HTTPDigestAuth handler. Allow new nonces to be negotiated (#2389)
|
406
|
+
|
407
|
+
2.5.0 (2014-12-01)
|
408
|
+
++++++++++++++++++
|
409
|
+
|
410
|
+
**Improvements**
|
411
|
+
|
412
|
+
- Allow usage of urllib3's Retry object with HTTPAdapters (#2216)
|
413
|
+
- The ``iter_lines`` method on a response now accepts a delimiter with which
|
414
|
+
to split the content (#2295)
|
415
|
+
|
416
|
+
**Behavioural Changes**
|
417
|
+
|
418
|
+
- Add deprecation warnings to functions in requests.utils that will be removed
|
419
|
+
in 3.0 (#2309)
|
420
|
+
- Sessions used by the functional API are always closed (#2326)
|
421
|
+
- Restrict requests to HTTP/1.1 and HTTP/1.0 (stop accepting HTTP/0.9) (#2323)
|
422
|
+
|
423
|
+
**Bugfixes**
|
424
|
+
|
425
|
+
- Only parse the URL once (#2353)
|
426
|
+
- Allow Content-Length header to always be overridden (#2332)
|
427
|
+
- Properly handle files in HTTPDigestAuth (#2333)
|
428
|
+
- Cap redirect_cache size to prevent memory abuse (#2299)
|
429
|
+
- Fix HTTPDigestAuth handling of redirects after authenticating successfully
|
430
|
+
(#2253)
|
431
|
+
- Fix crash with custom method parameter to Session.request (#2317)
|
432
|
+
- Fix how Link headers are parsed using the regular expression library (#2271)
|
433
|
+
|
434
|
+
**Documentation**
|
435
|
+
|
436
|
+
- Add more references for interlinking (#2348)
|
437
|
+
- Update CSS for theme (#2290)
|
438
|
+
- Update width of buttons and sidebar (#2289)
|
439
|
+
- Replace references of Gittip with Gratipay (#2282)
|
440
|
+
- Add link to changelog in sidebar (#2273)
|
441
|
+
|
442
|
+
2.4.3 (2014-10-06)
|
443
|
+
++++++++++++++++++
|
444
|
+
|
445
|
+
**Bugfixes**
|
446
|
+
|
447
|
+
- Unicode URL improvements for Python 2.
|
448
|
+
- Re-order JSON param for backwards compat.
|
449
|
+
- Automatically defrag authentication schemes from host/pass URIs. (`#2249 <https://github.com/kennethreitz/requests/issues/2249>`_)
|
450
|
+
|
451
|
+
|
452
|
+
2.4.2 (2014-10-05)
|
453
|
+
++++++++++++++++++
|
454
|
+
|
455
|
+
**Improvements**
|
456
|
+
|
457
|
+
- FINALLY! Add json parameter for uploads! (`#2258 <https://github.com/kennethreitz/requests/pull/2258>`_)
|
458
|
+
- Support for bytestring URLs on Python 3.x (`#2238 <https://github.com/kennethreitz/requests/pull/2238>`_)
|
459
|
+
|
460
|
+
**Bugfixes**
|
461
|
+
|
462
|
+
- Avoid getting stuck in a loop (`#2244 <https://github.com/kennethreitz/requests/pull/2244>`_)
|
463
|
+
- Multiple calls to iter* fail with unhelpful error. (`#2240 <https://github.com/kennethreitz/requests/issues/2240>`_, `#2241 <https://github.com/kennethreitz/requests/issues/2241>`_)
|
464
|
+
|
465
|
+
**Documentation**
|
466
|
+
|
467
|
+
- Correct redirection introduction (`#2245 <https://github.com/kennethreitz/requests/pull/2245/>`_)
|
468
|
+
- Added example of how to send multiple files in one request. (`#2227 <https://github.com/kennethreitz/requests/pull/2227/>`_)
|
469
|
+
- Clarify how to pass a custom set of CAs (`#2248 <https://github.com/kennethreitz/requests/pull/2248/>`_)
|
470
|
+
|
471
|
+
|
472
|
+
|
473
|
+
2.4.1 (2014-09-09)
|
474
|
+
++++++++++++++++++
|
475
|
+
|
476
|
+
- Now has a "security" package extras set, ``$ pip install requests[security]``
|
477
|
+
- Requests will now use Certifi if it is available.
|
478
|
+
- Capture and re-raise urllib3 ProtocolError
|
479
|
+
- Bugfix for responses that attempt to redirect to themselves forever (wtf?).
|
480
|
+
|
481
|
+
|
482
|
+
2.4.0 (2014-08-29)
|
483
|
+
++++++++++++++++++
|
484
|
+
|
485
|
+
**Behavioral Changes**
|
486
|
+
|
487
|
+
- ``Connection: keep-alive`` header is now sent automatically.
|
488
|
+
|
489
|
+
**Improvements**
|
490
|
+
|
491
|
+
- Support for connect timeouts! Timeout now accepts a tuple (connect, read) which is used to set individual connect and read timeouts.
|
492
|
+
- Allow copying of PreparedRequests without headers/cookies.
|
493
|
+
- Updated bundled urllib3 version.
|
494
|
+
- Refactored settings loading from environment -- new `Session.merge_environment_settings`.
|
495
|
+
- Handle socket errors in iter_content.
|
496
|
+
|
497
|
+
|
498
|
+
2.3.0 (2014-05-16)
|
499
|
+
++++++++++++++++++
|
500
|
+
|
501
|
+
**API Changes**
|
502
|
+
|
503
|
+
- New ``Response`` property ``is_redirect``, which is true when the
|
504
|
+
library could have processed this response as a redirection (whether
|
505
|
+
or not it actually did).
|
506
|
+
- The ``timeout`` parameter now affects requests with both ``stream=True`` and
|
507
|
+
``stream=False`` equally.
|
508
|
+
- The change in v2.0.0 to mandate explicit proxy schemes has been reverted.
|
509
|
+
Proxy schemes now default to ``http://``.
|
510
|
+
- The ``CaseInsensitiveDict`` used for HTTP headers now behaves like a normal
|
511
|
+
dictionary when references as string or viewed in the interpreter.
|
512
|
+
|
513
|
+
**Bugfixes**
|
514
|
+
|
515
|
+
- No longer expose Authorization or Proxy-Authorization headers on redirect.
|
516
|
+
Fix CVE-2014-1829 and CVE-2014-1830 respectively.
|
517
|
+
- Authorization is re-evaluated each redirect.
|
518
|
+
- On redirect, pass url as native strings.
|
519
|
+
- Fall-back to autodetected encoding for JSON when Unicode detection fails.
|
520
|
+
- Headers set to ``None`` on the ``Session`` are now correctly not sent.
|
521
|
+
- Correctly honor ``decode_unicode`` even if it wasn't used earlier in the same
|
522
|
+
response.
|
523
|
+
- Stop advertising ``compress`` as a supported Content-Encoding.
|
524
|
+
- The ``Response.history`` parameter is now always a list.
|
525
|
+
- Many, many ``urllib3`` bugfixes.
|
526
|
+
|
527
|
+
2.2.1 (2014-01-23)
|
528
|
+
++++++++++++++++++
|
529
|
+
|
530
|
+
**Bugfixes**
|
531
|
+
|
532
|
+
- Fixes incorrect parsing of proxy credentials that contain a literal or encoded '#' character.
|
533
|
+
- Assorted urllib3 fixes.
|
534
|
+
|
535
|
+
2.2.0 (2014-01-09)
|
536
|
+
++++++++++++++++++
|
537
|
+
|
538
|
+
**API Changes**
|
539
|
+
|
540
|
+
- New exception: ``ContentDecodingError``. Raised instead of ``urllib3``
|
541
|
+
``DecodeError`` exceptions.
|
542
|
+
|
543
|
+
**Bugfixes**
|
544
|
+
|
545
|
+
- Avoid many many exceptions from the buggy implementation of ``proxy_bypass`` on OS X in Python 2.6.
|
546
|
+
- Avoid crashing when attempting to get authentication credentials from ~/.netrc when running as a user without a home directory.
|
547
|
+
- Use the correct pool size for pools of connections to proxies.
|
548
|
+
- Fix iteration of ``CookieJar`` objects.
|
549
|
+
- Ensure that cookies are persisted over redirect.
|
550
|
+
- Switch back to using chardet, since it has merged with charade.
|
551
|
+
|
552
|
+
2.1.0 (2013-12-05)
|
553
|
+
++++++++++++++++++
|
554
|
+
|
555
|
+
- Updated CA Bundle, of course.
|
556
|
+
- Cookies set on individual Requests through a ``Session`` (e.g. via ``Session.get()``) are no longer persisted to the ``Session``.
|
557
|
+
- Clean up connections when we hit problems during chunked upload, rather than leaking them.
|
558
|
+
- Return connections to the pool when a chunked upload is successful, rather than leaking it.
|
559
|
+
- Match the HTTPbis recommendation for HTTP 301 redirects.
|
560
|
+
- Prevent hanging when using streaming uploads and Digest Auth when a 401 is received.
|
561
|
+
- Values of headers set by Requests are now always the native string type.
|
562
|
+
- Fix previously broken SNI support.
|
563
|
+
- Fix accessing HTTP proxies using proxy authentication.
|
564
|
+
- Unencode HTTP Basic usernames and passwords extracted from URLs.
|
565
|
+
- Support for IP address ranges for no_proxy environment variable
|
566
|
+
- Parse headers correctly when users override the default ``Host:`` header.
|
567
|
+
- Avoid munging the URL in case of case-sensitive servers.
|
568
|
+
- Looser URL handling for non-HTTP/HTTPS urls.
|
569
|
+
- Accept unicode methods in Python 2.6 and 2.7.
|
570
|
+
- More resilient cookie handling.
|
571
|
+
- Make ``Response`` objects pickleable.
|
572
|
+
- Actually added MD5-sess to Digest Auth instead of pretending to like last time.
|
573
|
+
- Updated internal urllib3.
|
574
|
+
- Fixed @Lukasa's lack of taste.
|
575
|
+
|
576
|
+
2.0.1 (2013-10-24)
|
577
|
+
++++++++++++++++++
|
578
|
+
|
579
|
+
- Updated included CA Bundle with new mistrusts and automated process for the future
|
580
|
+
- Added MD5-sess to Digest Auth
|
581
|
+
- Accept per-file headers in multipart file POST messages.
|
582
|
+
- Fixed: Don't send the full URL on CONNECT messages.
|
583
|
+
- Fixed: Correctly lowercase a redirect scheme.
|
584
|
+
- Fixed: Cookies not persisted when set via functional API.
|
585
|
+
- Fixed: Translate urllib3 ProxyError into a requests ProxyError derived from ConnectionError.
|
586
|
+
- Updated internal urllib3 and chardet.
|
587
|
+
|
588
|
+
2.0.0 (2013-09-24)
|
589
|
+
++++++++++++++++++
|
590
|
+
|
591
|
+
**API Changes:**
|
592
|
+
|
593
|
+
- Keys in the Headers dictionary are now native strings on all Python versions,
|
594
|
+
i.e. bytestrings on Python 2, unicode on Python 3.
|
595
|
+
- Proxy URLs now *must* have an explicit scheme. A ``MissingSchema`` exception
|
596
|
+
will be raised if they don't.
|
597
|
+
- Timeouts now apply to read time if ``Stream=False``.
|
598
|
+
- ``RequestException`` is now a subclass of ``IOError``, not ``RuntimeError``.
|
599
|
+
- Added new method to ``PreparedRequest`` objects: ``PreparedRequest.copy()``.
|
600
|
+
- Added new method to ``Session`` objects: ``Session.update_request()``. This
|
601
|
+
method updates a ``Request`` object with the data (e.g. cookies) stored on
|
602
|
+
the ``Session``.
|
603
|
+
- Added new method to ``Session`` objects: ``Session.prepare_request()``. This
|
604
|
+
method updates and prepares a ``Request`` object, and returns the
|
605
|
+
corresponding ``PreparedRequest`` object.
|
606
|
+
- Added new method to ``HTTPAdapter`` objects: ``HTTPAdapter.proxy_headers()``.
|
607
|
+
This should not be called directly, but improves the subclass interface.
|
608
|
+
- ``httplib.IncompleteRead`` exceptions caused by incorrect chunked encoding
|
609
|
+
will now raise a Requests ``ChunkedEncodingError`` instead.
|
610
|
+
- Invalid percent-escape sequences now cause a Requests ``InvalidURL``
|
611
|
+
exception to be raised.
|
612
|
+
- HTTP 208 no longer uses reason phrase ``"im_used"``. Correctly uses
|
613
|
+
``"already_reported"``.
|
614
|
+
- HTTP 226 reason added (``"im_used"``).
|
615
|
+
|
616
|
+
**Bugfixes:**
|
617
|
+
|
618
|
+
- Vastly improved proxy support, including the CONNECT verb. Special thanks to
|
619
|
+
the many contributors who worked towards this improvement.
|
620
|
+
- Cookies are now properly managed when 401 authentication responses are
|
621
|
+
received.
|
622
|
+
- Chunked encoding fixes.
|
623
|
+
- Support for mixed case schemes.
|
624
|
+
- Better handling of streaming downloads.
|
625
|
+
- Retrieve environment proxies from more locations.
|
626
|
+
- Minor cookies fixes.
|
627
|
+
- Improved redirect behaviour.
|
628
|
+
- Improved streaming behaviour, particularly for compressed data.
|
629
|
+
- Miscellaneous small Python 3 text encoding bugs.
|
630
|
+
- ``.netrc`` no longer overrides explicit auth.
|
631
|
+
- Cookies set by hooks are now correctly persisted on Sessions.
|
632
|
+
- Fix problem with cookies that specify port numbers in their host field.
|
633
|
+
- ``BytesIO`` can be used to perform streaming uploads.
|
634
|
+
- More generous parsing of the ``no_proxy`` environment variable.
|
635
|
+
- Non-string objects can be passed in data values alongside files.
|
636
|
+
|
637
|
+
1.2.3 (2013-05-25)
|
638
|
+
++++++++++++++++++
|
639
|
+
|
640
|
+
- Simple packaging fix
|
641
|
+
|
642
|
+
|
643
|
+
1.2.2 (2013-05-23)
|
644
|
+
++++++++++++++++++
|
645
|
+
|
646
|
+
- Simple packaging fix
|
647
|
+
|
648
|
+
|
649
|
+
1.2.1 (2013-05-20)
|
650
|
+
++++++++++++++++++
|
651
|
+
|
652
|
+
- 301 and 302 redirects now change the verb to GET for all verbs, not just
|
653
|
+
POST, improving browser compatibility.
|
654
|
+
- Python 3.3.2 compatibility
|
655
|
+
- Always percent-encode location headers
|
656
|
+
- Fix connection adapter matching to be most-specific first
|
657
|
+
- new argument to the default connection adapter for passing a block argument
|
658
|
+
- prevent a KeyError when there's no link headers
|
659
|
+
|
660
|
+
1.2.0 (2013-03-31)
|
661
|
+
++++++++++++++++++
|
662
|
+
|
663
|
+
- Fixed cookies on sessions and on requests
|
664
|
+
- Significantly change how hooks are dispatched - hooks now receive all the
|
665
|
+
arguments specified by the user when making a request so hooks can make a
|
666
|
+
secondary request with the same parameters. This is especially necessary for
|
667
|
+
authentication handler authors
|
668
|
+
- certifi support was removed
|
669
|
+
- Fixed bug where using OAuth 1 with body ``signature_type`` sent no data
|
670
|
+
- Major proxy work thanks to @Lukasa including parsing of proxy authentication
|
671
|
+
from the proxy url
|
672
|
+
- Fix DigestAuth handling too many 401s
|
673
|
+
- Update vendored urllib3 to include SSL bug fixes
|
674
|
+
- Allow keyword arguments to be passed to ``json.loads()`` via the
|
675
|
+
``Response.json()`` method
|
676
|
+
- Don't send ``Content-Length`` header by default on ``GET`` or ``HEAD``
|
677
|
+
requests
|
678
|
+
- Add ``elapsed`` attribute to ``Response`` objects to time how long a request
|
679
|
+
took.
|
680
|
+
- Fix ``RequestsCookieJar``
|
681
|
+
- Sessions and Adapters are now picklable, i.e., can be used with the
|
682
|
+
multiprocessing library
|
683
|
+
- Update charade to version 1.0.3
|
684
|
+
|
685
|
+
The change in how hooks are dispatched will likely cause a great deal of
|
686
|
+
issues.
|
687
|
+
|
688
|
+
1.1.0 (2013-01-10)
|
689
|
+
++++++++++++++++++
|
690
|
+
|
691
|
+
- CHUNKED REQUESTS
|
692
|
+
- Support for iterable response bodies
|
693
|
+
- Assume servers persist redirect params
|
694
|
+
- Allow explicit content types to be specified for file data
|
695
|
+
- Make merge_kwargs case-insensitive when looking up keys
|
696
|
+
|
697
|
+
1.0.3 (2012-12-18)
|
698
|
+
++++++++++++++++++
|
699
|
+
|
700
|
+
- Fix file upload encoding bug
|
701
|
+
- Fix cookie behavior
|
702
|
+
|
703
|
+
1.0.2 (2012-12-17)
|
704
|
+
++++++++++++++++++
|
705
|
+
|
706
|
+
- Proxy fix for HTTPAdapter.
|
707
|
+
|
708
|
+
1.0.1 (2012-12-17)
|
709
|
+
++++++++++++++++++
|
710
|
+
|
711
|
+
- Cert verification exception bug.
|
712
|
+
- Proxy fix for HTTPAdapter.
|
713
|
+
|
714
|
+
1.0.0 (2012-12-17)
|
715
|
+
++++++++++++++++++
|
716
|
+
|
717
|
+
- Massive Refactor and Simplification
|
718
|
+
- Switch to Apache 2.0 license
|
719
|
+
- Swappable Connection Adapters
|
720
|
+
- Mountable Connection Adapters
|
721
|
+
- Mutable ProcessedRequest chain
|
722
|
+
- /s/prefetch/stream
|
723
|
+
- Removal of all configuration
|
724
|
+
- Standard library logging
|
725
|
+
- Make Response.json() callable, not property.
|
726
|
+
- Usage of new charade project, which provides python 2 and 3 simultaneous chardet.
|
727
|
+
- Removal of all hooks except 'response'
|
728
|
+
- Removal of all authentication helpers (OAuth, Kerberos)
|
729
|
+
|
730
|
+
This is not a backwards compatible change.
|
731
|
+
|
732
|
+
0.14.2 (2012-10-27)
|
733
|
+
+++++++++++++++++++
|
734
|
+
|
735
|
+
- Improved mime-compatible JSON handling
|
736
|
+
- Proxy fixes
|
737
|
+
- Path hack fixes
|
738
|
+
- Case-Insensitive Content-Encoding headers
|
739
|
+
- Support for CJK parameters in form posts
|
740
|
+
|
741
|
+
|
742
|
+
0.14.1 (2012-10-01)
|
743
|
+
+++++++++++++++++++
|
744
|
+
|
745
|
+
- Python 3.3 Compatibility
|
746
|
+
- Simply default accept-encoding
|
747
|
+
- Bugfixes
|
748
|
+
|
749
|
+
|
750
|
+
0.14.0 (2012-09-02)
|
751
|
+
++++++++++++++++++++
|
752
|
+
|
753
|
+
- No more iter_content errors if already downloaded.
|
754
|
+
|
755
|
+
0.13.9 (2012-08-25)
|
756
|
+
+++++++++++++++++++
|
757
|
+
|
758
|
+
- Fix for OAuth + POSTs
|
759
|
+
- Remove exception eating from dispatch_hook
|
760
|
+
- General bugfixes
|
761
|
+
|
762
|
+
0.13.8 (2012-08-21)
|
763
|
+
+++++++++++++++++++
|
764
|
+
|
765
|
+
- Incredible Link header support :)
|
766
|
+
|
767
|
+
0.13.7 (2012-08-19)
|
768
|
+
+++++++++++++++++++
|
769
|
+
|
770
|
+
- Support for (key, value) lists everywhere.
|
771
|
+
- Digest Authentication improvements.
|
772
|
+
- Ensure proxy exclusions work properly.
|
773
|
+
- Clearer UnicodeError exceptions.
|
774
|
+
- Automatic casting of URLs to strings (fURL and such)
|
775
|
+
- Bugfixes.
|
776
|
+
|
777
|
+
0.13.6 (2012-08-06)
|
778
|
+
+++++++++++++++++++
|
779
|
+
|
780
|
+
- Long awaited fix for hanging connections!
|
781
|
+
|
782
|
+
0.13.5 (2012-07-27)
|
783
|
+
+++++++++++++++++++
|
784
|
+
|
785
|
+
- Packaging fix
|
786
|
+
|
787
|
+
0.13.4 (2012-07-27)
|
788
|
+
+++++++++++++++++++
|
789
|
+
|
790
|
+
- GSSAPI/Kerberos authentication!
|
791
|
+
- App Engine 2.7 Fixes!
|
792
|
+
- Fix leaking connections (from urllib3 update)
|
793
|
+
- OAuthlib path hack fix
|
794
|
+
- OAuthlib URL parameters fix.
|
795
|
+
|
796
|
+
0.13.3 (2012-07-12)
|
797
|
+
+++++++++++++++++++
|
798
|
+
|
799
|
+
- Use simplejson if available.
|
800
|
+
- Do not hide SSLErrors behind Timeouts.
|
801
|
+
- Fixed param handling with urls containing fragments.
|
802
|
+
- Significantly improved information in User Agent.
|
803
|
+
- client certificates are ignored when verify=False
|
804
|
+
|
805
|
+
0.13.2 (2012-06-28)
|
806
|
+
+++++++++++++++++++
|
807
|
+
|
808
|
+
- Zero dependencies (once again)!
|
809
|
+
- New: Response.reason
|
810
|
+
- Sign querystring parameters in OAuth 1.0
|
811
|
+
- Client certificates no longer ignored when verify=False
|
812
|
+
- Add openSUSE certificate support
|
813
|
+
|
814
|
+
0.13.1 (2012-06-07)
|
815
|
+
+++++++++++++++++++
|
816
|
+
|
817
|
+
- Allow passing a file or file-like object as data.
|
818
|
+
- Allow hooks to return responses that indicate errors.
|
819
|
+
- Fix Response.text and Response.json for body-less responses.
|
820
|
+
|
821
|
+
0.13.0 (2012-05-29)
|
822
|
+
+++++++++++++++++++
|
823
|
+
|
824
|
+
- Removal of Requests.async in favor of `grequests <https://github.com/kennethreitz/grequests>`_
|
825
|
+
- Allow disabling of cookie persistence.
|
826
|
+
- New implementation of safe_mode
|
827
|
+
- cookies.get now supports default argument
|
828
|
+
- Session cookies not saved when Session.request is called with return_response=False
|
829
|
+
- Env: no_proxy support.
|
830
|
+
- RequestsCookieJar improvements.
|
831
|
+
- Various bug fixes.
|
832
|
+
|
833
|
+
0.12.1 (2012-05-08)
|
834
|
+
+++++++++++++++++++
|
835
|
+
|
836
|
+
- New ``Response.json`` property.
|
837
|
+
- Ability to add string file uploads.
|
838
|
+
- Fix out-of-range issue with iter_lines.
|
839
|
+
- Fix iter_content default size.
|
840
|
+
- Fix POST redirects containing files.
|
841
|
+
|
842
|
+
0.12.0 (2012-05-02)
|
843
|
+
+++++++++++++++++++
|
844
|
+
|
845
|
+
- EXPERIMENTAL OAUTH SUPPORT!
|
846
|
+
- Proper CookieJar-backed cookies interface with awesome dict-like interface.
|
847
|
+
- Speed fix for non-iterated content chunks.
|
848
|
+
- Move ``pre_request`` to a more usable place.
|
849
|
+
- New ``pre_send`` hook.
|
850
|
+
- Lazily encode data, params, files.
|
851
|
+
- Load system Certificate Bundle if ``certify`` isn't available.
|
852
|
+
- Cleanups, fixes.
|
853
|
+
|
854
|
+
0.11.2 (2012-04-22)
|
855
|
+
+++++++++++++++++++
|
856
|
+
|
857
|
+
- Attempt to use the OS's certificate bundle if ``certifi`` isn't available.
|
858
|
+
- Infinite digest auth redirect fix.
|
859
|
+
- Multi-part file upload improvements.
|
860
|
+
- Fix decoding of invalid %encodings in URLs.
|
861
|
+
- If there is no content in a response don't throw an error the second time that content is attempted to be read.
|
862
|
+
- Upload data on redirects.
|
863
|
+
|
864
|
+
0.11.1 (2012-03-30)
|
865
|
+
+++++++++++++++++++
|
866
|
+
|
867
|
+
* POST redirects now break RFC to do what browsers do: Follow up with a GET.
|
868
|
+
* New ``strict_mode`` configuration to disable new redirect behavior.
|
869
|
+
|
870
|
+
|
871
|
+
0.11.0 (2012-03-14)
|
872
|
+
+++++++++++++++++++
|
873
|
+
|
874
|
+
* Private SSL Certificate support
|
875
|
+
* Remove select.poll from Gevent monkeypatching
|
876
|
+
* Remove redundant generator for chunked transfer encoding
|
877
|
+
* Fix: Response.ok raises Timeout Exception in safe_mode
|
878
|
+
|
879
|
+
0.10.8 (2012-03-09)
|
880
|
+
+++++++++++++++++++
|
881
|
+
|
882
|
+
* Generate chunked ValueError fix
|
883
|
+
* Proxy configuration by environment variables
|
884
|
+
* Simplification of iter_lines.
|
885
|
+
* New `trust_env` configuration for disabling system/environment hints.
|
886
|
+
* Suppress cookie errors.
|
887
|
+
|
888
|
+
0.10.7 (2012-03-07)
|
889
|
+
+++++++++++++++++++
|
890
|
+
|
891
|
+
* `encode_uri` = False
|
892
|
+
|
893
|
+
0.10.6 (2012-02-25)
|
894
|
+
+++++++++++++++++++
|
895
|
+
|
896
|
+
* Allow '=' in cookies.
|
897
|
+
|
898
|
+
0.10.5 (2012-02-25)
|
899
|
+
+++++++++++++++++++
|
900
|
+
|
901
|
+
* Response body with 0 content-length fix.
|
902
|
+
* New async.imap.
|
903
|
+
* Don't fail on netrc.
|
904
|
+
|
905
|
+
|
906
|
+
0.10.4 (2012-02-20)
|
907
|
+
+++++++++++++++++++
|
908
|
+
|
909
|
+
* Honor netrc.
|
910
|
+
|
911
|
+
0.10.3 (2012-02-20)
|
912
|
+
+++++++++++++++++++
|
913
|
+
|
914
|
+
* HEAD requests don't follow redirects anymore.
|
915
|
+
* raise_for_status() doesn't raise for 3xx anymore.
|
916
|
+
* Make Session objects picklable.
|
917
|
+
* ValueError for invalid schema URLs.
|
918
|
+
|
919
|
+
0.10.2 (2012-01-15)
|
920
|
+
+++++++++++++++++++
|
921
|
+
|
922
|
+
* Vastly improved URL quoting.
|
923
|
+
* Additional allowed cookie key values.
|
924
|
+
* Attempted fix for "Too many open files" Error
|
925
|
+
* Replace unicode errors on first pass, no need for second pass.
|
926
|
+
* Append '/' to bare-domain urls before query insertion.
|
927
|
+
* Exceptions now inherit from RuntimeError.
|
928
|
+
* Binary uploads + auth fix.
|
929
|
+
* Bugfixes.
|
930
|
+
|
931
|
+
|
932
|
+
0.10.1 (2012-01-23)
|
933
|
+
+++++++++++++++++++
|
934
|
+
|
935
|
+
* PYTHON 3 SUPPORT!
|
936
|
+
* Dropped 2.5 Support. (*Backwards Incompatible*)
|
937
|
+
|
938
|
+
0.10.0 (2012-01-21)
|
939
|
+
+++++++++++++++++++
|
940
|
+
|
941
|
+
* ``Response.content`` is now bytes-only. (*Backwards Incompatible*)
|
942
|
+
* New ``Response.text`` is unicode-only.
|
943
|
+
* If no ``Response.encoding`` is specified and ``chardet`` is available, ``Response.text`` will guess an encoding.
|
944
|
+
* Default to ISO-8859-1 (Western) encoding for "text" subtypes.
|
945
|
+
* Removal of `decode_unicode`. (*Backwards Incompatible*)
|
946
|
+
* New multiple-hooks system.
|
947
|
+
* New ``Response.register_hook`` for registering hooks within the pipeline.
|
948
|
+
* ``Response.url`` is now Unicode.
|
949
|
+
|
950
|
+
0.9.3 (2012-01-18)
|
951
|
+
++++++++++++++++++
|
952
|
+
|
953
|
+
* SSL verify=False bugfix (apparent on windows machines).
|
954
|
+
|
955
|
+
0.9.2 (2012-01-18)
|
956
|
+
++++++++++++++++++
|
957
|
+
|
958
|
+
* Asynchronous async.send method.
|
959
|
+
* Support for proper chunk streams with boundaries.
|
960
|
+
* session argument for Session classes.
|
961
|
+
* Print entire hook tracebacks, not just exception instance.
|
962
|
+
* Fix response.iter_lines from pending next line.
|
963
|
+
* Fix but in HTTP-digest auth w/ URI having query strings.
|
964
|
+
* Fix in Event Hooks section.
|
965
|
+
* Urllib3 update.
|
966
|
+
|
967
|
+
|
968
|
+
0.9.1 (2012-01-06)
|
969
|
+
++++++++++++++++++
|
970
|
+
|
971
|
+
* danger_mode for automatic Response.raise_for_status()
|
972
|
+
* Response.iter_lines refactor
|
973
|
+
|
974
|
+
0.9.0 (2011-12-28)
|
975
|
+
++++++++++++++++++
|
976
|
+
|
977
|
+
* verify ssl is default.
|
978
|
+
|
979
|
+
|
980
|
+
0.8.9 (2011-12-28)
|
981
|
+
++++++++++++++++++
|
982
|
+
|
983
|
+
* Packaging fix.
|
984
|
+
|
985
|
+
|
986
|
+
0.8.8 (2011-12-28)
|
987
|
+
++++++++++++++++++
|
988
|
+
|
989
|
+
* SSL CERT VERIFICATION!
|
990
|
+
* Release of Cerifi: Mozilla's cert list.
|
991
|
+
* New 'verify' argument for SSL requests.
|
992
|
+
* Urllib3 update.
|
993
|
+
|
994
|
+
0.8.7 (2011-12-24)
|
995
|
+
++++++++++++++++++
|
996
|
+
|
997
|
+
* iter_lines last-line truncation fix
|
998
|
+
* Force safe_mode for async requests
|
999
|
+
* Handle safe_mode exceptions more consistently
|
1000
|
+
* Fix iteration on null responses in safe_mode
|
1001
|
+
|
1002
|
+
0.8.6 (2011-12-18)
|
1003
|
+
++++++++++++++++++
|
1004
|
+
|
1005
|
+
* Socket timeout fixes.
|
1006
|
+
* Proxy Authorization support.
|
1007
|
+
|
1008
|
+
0.8.5 (2011-12-14)
|
1009
|
+
++++++++++++++++++
|
1010
|
+
|
1011
|
+
* Response.iter_lines!
|
1012
|
+
|
1013
|
+
0.8.4 (2011-12-11)
|
1014
|
+
++++++++++++++++++
|
1015
|
+
|
1016
|
+
* Prefetch bugfix.
|
1017
|
+
* Added license to installed version.
|
1018
|
+
|
1019
|
+
0.8.3 (2011-11-27)
|
1020
|
+
++++++++++++++++++
|
1021
|
+
|
1022
|
+
* Converted auth system to use simpler callable objects.
|
1023
|
+
* New session parameter to API methods.
|
1024
|
+
* Display full URL while logging.
|
1025
|
+
|
1026
|
+
0.8.2 (2011-11-19)
|
1027
|
+
++++++++++++++++++
|
1028
|
+
|
1029
|
+
* New Unicode decoding system, based on over-ridable `Response.encoding`.
|
1030
|
+
* Proper URL slash-quote handling.
|
1031
|
+
* Cookies with ``[``, ``]``, and ``_`` allowed.
|
1032
|
+
|
1033
|
+
0.8.1 (2011-11-15)
|
1034
|
+
++++++++++++++++++
|
1035
|
+
|
1036
|
+
* URL Request path fix
|
1037
|
+
* Proxy fix.
|
1038
|
+
* Timeouts fix.
|
1039
|
+
|
1040
|
+
0.8.0 (2011-11-13)
|
1041
|
+
++++++++++++++++++
|
1042
|
+
|
1043
|
+
* Keep-alive support!
|
1044
|
+
* Complete removal of Urllib2
|
1045
|
+
* Complete removal of Poster
|
1046
|
+
* Complete removal of CookieJars
|
1047
|
+
* New ConnectionError raising
|
1048
|
+
* Safe_mode for error catching
|
1049
|
+
* prefetch parameter for request methods
|
1050
|
+
* OPTION method
|
1051
|
+
* Async pool size throttling
|
1052
|
+
* File uploads send real names
|
1053
|
+
* Vendored in urllib3
|
1054
|
+
|
1055
|
+
0.7.6 (2011-11-07)
|
1056
|
+
++++++++++++++++++
|
1057
|
+
|
1058
|
+
* Digest authentication bugfix (attach query data to path)
|
1059
|
+
|
1060
|
+
0.7.5 (2011-11-04)
|
1061
|
+
++++++++++++++++++
|
1062
|
+
|
1063
|
+
* Response.content = None if there was an invalid response.
|
1064
|
+
* Redirection auth handling.
|
1065
|
+
|
1066
|
+
0.7.4 (2011-10-26)
|
1067
|
+
++++++++++++++++++
|
1068
|
+
|
1069
|
+
* Session Hooks fix.
|
1070
|
+
|
1071
|
+
0.7.3 (2011-10-23)
|
1072
|
+
++++++++++++++++++
|
1073
|
+
|
1074
|
+
* Digest Auth fix.
|
1075
|
+
|
1076
|
+
|
1077
|
+
0.7.2 (2011-10-23)
|
1078
|
+
++++++++++++++++++
|
1079
|
+
|
1080
|
+
* PATCH Fix.
|
1081
|
+
|
1082
|
+
|
1083
|
+
0.7.1 (2011-10-23)
|
1084
|
+
++++++++++++++++++
|
1085
|
+
|
1086
|
+
* Move away from urllib2 authentication handling.
|
1087
|
+
* Fully Remove AuthManager, AuthObject, &c.
|
1088
|
+
* New tuple-based auth system with handler callbacks.
|
1089
|
+
|
1090
|
+
|
1091
|
+
0.7.0 (2011-10-22)
|
1092
|
+
++++++++++++++++++
|
1093
|
+
|
1094
|
+
* Sessions are now the primary interface.
|
1095
|
+
* Deprecated InvalidMethodException.
|
1096
|
+
* PATCH fix.
|
1097
|
+
* New config system (no more global settings).
|
1098
|
+
|
1099
|
+
|
1100
|
+
0.6.6 (2011-10-19)
|
1101
|
+
++++++++++++++++++
|
1102
|
+
|
1103
|
+
* Session parameter bugfix (params merging).
|
1104
|
+
|
1105
|
+
|
1106
|
+
0.6.5 (2011-10-18)
|
1107
|
+
++++++++++++++++++
|
1108
|
+
|
1109
|
+
* Offline (fast) test suite.
|
1110
|
+
* Session dictionary argument merging.
|
1111
|
+
|
1112
|
+
|
1113
|
+
0.6.4 (2011-10-13)
|
1114
|
+
++++++++++++++++++
|
1115
|
+
|
1116
|
+
* Automatic decoding of unicode, based on HTTP Headers.
|
1117
|
+
* New ``decode_unicode`` setting.
|
1118
|
+
* Removal of ``r.read/close`` methods.
|
1119
|
+
* New ``r.faw`` interface for advanced response usage.*
|
1120
|
+
* Automatic expansion of parameterized headers.
|
1121
|
+
|
1122
|
+
|
1123
|
+
0.6.3 (2011-10-13)
|
1124
|
+
++++++++++++++++++
|
1125
|
+
|
1126
|
+
* Beautiful ``requests.async`` module, for making async requests w/ gevent.
|
1127
|
+
|
1128
|
+
|
1129
|
+
0.6.2 (2011-10-09)
|
1130
|
+
++++++++++++++++++
|
1131
|
+
|
1132
|
+
* GET/HEAD obeys allow_redirects=False.
|
1133
|
+
|
1134
|
+
|
1135
|
+
0.6.1 (2011-08-20)
|
1136
|
+
++++++++++++++++++
|
1137
|
+
|
1138
|
+
* Enhanced status codes experience ``\o/``
|
1139
|
+
* Set a maximum number of redirects (``settings.max_redirects``)
|
1140
|
+
* Full Unicode URL support
|
1141
|
+
* Support for protocol-less redirects.
|
1142
|
+
* Allow for arbitrary request types.
|
1143
|
+
* Bugfixes
|
1144
|
+
|
1145
|
+
|
1146
|
+
0.6.0 (2011-08-17)
|
1147
|
+
++++++++++++++++++
|
1148
|
+
|
1149
|
+
* New callback hook system
|
1150
|
+
* New persistent sessions object and context manager
|
1151
|
+
* Transparent Dict-cookie handling
|
1152
|
+
* Status code reference object
|
1153
|
+
* Removed Response.cached
|
1154
|
+
* Added Response.request
|
1155
|
+
* All args are kwargs
|
1156
|
+
* Relative redirect support
|
1157
|
+
* HTTPError handling improvements
|
1158
|
+
* Improved https testing
|
1159
|
+
* Bugfixes
|
1160
|
+
|
1161
|
+
|
1162
|
+
0.5.1 (2011-07-23)
|
1163
|
+
++++++++++++++++++
|
1164
|
+
|
1165
|
+
* International Domain Name Support!
|
1166
|
+
* Access headers without fetching entire body (``read()``)
|
1167
|
+
* Use lists as dicts for parameters
|
1168
|
+
* Add Forced Basic Authentication
|
1169
|
+
* Forced Basic is default authentication type
|
1170
|
+
* ``python-requests.org`` default User-Agent header
|
1171
|
+
* CaseInsensitiveDict lower-case caching
|
1172
|
+
* Response.history bugfix
|
1173
|
+
|
1174
|
+
|
1175
|
+
0.5.0 (2011-06-21)
|
1176
|
+
++++++++++++++++++
|
1177
|
+
|
1178
|
+
* PATCH Support
|
1179
|
+
* Support for Proxies
|
1180
|
+
* HTTPBin Test Suite
|
1181
|
+
* Redirect Fixes
|
1182
|
+
* settings.verbose stream writing
|
1183
|
+
* Querystrings for all methods
|
1184
|
+
* URLErrors (Connection Refused, Timeout, Invalid URLs) are treated as explicitly raised
|
1185
|
+
``r.requests.get('hwe://blah'); r.raise_for_status()``
|
1186
|
+
|
1187
|
+
|
1188
|
+
0.4.1 (2011-05-22)
|
1189
|
+
++++++++++++++++++
|
1190
|
+
|
1191
|
+
* Improved Redirection Handling
|
1192
|
+
* New 'allow_redirects' param for following non-GET/HEAD Redirects
|
1193
|
+
* Settings module refactoring
|
1194
|
+
|
1195
|
+
|
1196
|
+
0.4.0 (2011-05-15)
|
1197
|
+
++++++++++++++++++
|
1198
|
+
|
1199
|
+
* Response.history: list of redirected responses
|
1200
|
+
* Case-Insensitive Header Dictionaries!
|
1201
|
+
* Unicode URLs
|
1202
|
+
|
1203
|
+
|
1204
|
+
0.3.4 (2011-05-14)
|
1205
|
+
++++++++++++++++++
|
1206
|
+
|
1207
|
+
* Urllib2 HTTPAuthentication Recursion fix (Basic/Digest)
|
1208
|
+
* Internal Refactor
|
1209
|
+
* Bytes data upload Bugfix
|
1210
|
+
|
1211
|
+
|
1212
|
+
|
1213
|
+
0.3.3 (2011-05-12)
|
1214
|
+
++++++++++++++++++
|
1215
|
+
|
1216
|
+
* Request timeouts
|
1217
|
+
* Unicode url-encoded data
|
1218
|
+
* Settings context manager and module
|
1219
|
+
|
1220
|
+
|
1221
|
+
0.3.2 (2011-04-15)
|
1222
|
+
++++++++++++++++++
|
1223
|
+
|
1224
|
+
* Automatic Decompression of GZip Encoded Content
|
1225
|
+
* AutoAuth Support for Tupled HTTP Auth
|
1226
|
+
|
1227
|
+
|
1228
|
+
0.3.1 (2011-04-01)
|
1229
|
+
++++++++++++++++++
|
1230
|
+
|
1231
|
+
* Cookie Changes
|
1232
|
+
* Response.read()
|
1233
|
+
* Poster fix
|
1234
|
+
|
1235
|
+
|
1236
|
+
0.3.0 (2011-02-25)
|
1237
|
+
++++++++++++++++++
|
1238
|
+
|
1239
|
+
* Automatic Authentication API Change
|
1240
|
+
* Smarter Query URL Parameterization
|
1241
|
+
* Allow file uploads and POST data together
|
1242
|
+
* New Authentication Manager System
|
1243
|
+
- Simpler Basic HTTP System
|
1244
|
+
- Supports all build-in urllib2 Auths
|
1245
|
+
- Allows for custom Auth Handlers
|
1246
|
+
|
1247
|
+
|
1248
|
+
0.2.4 (2011-02-19)
|
1249
|
+
++++++++++++++++++
|
1250
|
+
|
1251
|
+
* Python 2.5 Support
|
1252
|
+
* PyPy-c v1.4 Support
|
1253
|
+
* Auto-Authentication tests
|
1254
|
+
* Improved Request object constructor
|
1255
|
+
|
1256
|
+
0.2.3 (2011-02-15)
|
1257
|
+
++++++++++++++++++
|
1258
|
+
|
1259
|
+
* New HTTPHandling Methods
|
1260
|
+
- Response.__nonzero__ (false if bad HTTP Status)
|
1261
|
+
- Response.ok (True if expected HTTP Status)
|
1262
|
+
- Response.error (Logged HTTPError if bad HTTP Status)
|
1263
|
+
- Response.raise_for_status() (Raises stored HTTPError)
|
1264
|
+
|
1265
|
+
|
1266
|
+
0.2.2 (2011-02-14)
|
1267
|
+
++++++++++++++++++
|
1268
|
+
|
1269
|
+
* Still handles request in the event of an HTTPError. (Issue #2)
|
1270
|
+
* Eventlet and Gevent Monkeypatch support.
|
1271
|
+
* Cookie Support (Issue #1)
|
1272
|
+
|
1273
|
+
|
1274
|
+
0.2.1 (2011-02-14)
|
1275
|
+
++++++++++++++++++
|
1276
|
+
|
1277
|
+
* Added file attribute to POST and PUT requests for multipart-encode file uploads.
|
1278
|
+
* Added Request.url attribute for context and redirects
|
1279
|
+
|
1280
|
+
|
1281
|
+
0.2.0 (2011-02-14)
|
1282
|
+
++++++++++++++++++
|
1283
|
+
|
1284
|
+
* Birth!
|
1285
|
+
|
1286
|
+
|
1287
|
+
0.0.1 (2011-02-13)
|
1288
|
+
++++++++++++++++++
|
1289
|
+
|
1290
|
+
* Frustration
|
1291
|
+
* Conception
|
1292
|
+
|
1293
|
+
|
1294
|
+
|