Commit Graph

2146 Commits

Author SHA1 Message Date
kennethreitz 8a2014e265 fix compat.py 2017-05-26 22:51:40 -04:00
kennethreitz 1d31b36148 fix exceptions.py 2017-05-26 22:50:43 -04:00
kennethreitz 6c41633cfd fix models.py 2017-05-26 22:50:13 -04:00
kennethreitz 6ef7298466 fix sessions.py 2017-05-26 22:49:43 -04:00
kennethreitz 8e17600ef6 delete packages 2017-05-26 22:44:48 -04:00
kennethreitz 282b01a7c9 new release 2017-05-26 22:13:29 -04:00
kennethreitz 8c2a36140b fix for python 3 2017-05-26 22:08:46 -04:00
kennethreitz 60b9fb17af too much 2017-05-26 21:48:35 -04:00
kennethreitz bf53ace6f8 v2.15.0 2017-05-26 21:38:23 -04:00
kennethreitz 4c3d307eb9 Merge pull request #4052 from hile/master
Fix regression in API caused by commit 85400d8d6751071ef78f042d1efa72…
2017-05-26 18:34:30 -07:00
kennethreitz c3367d1854 remove Request.send(session) 2017-05-26 21:28:52 -04:00
kennethreitz a7239aab84 feedback from @sigmavirus42 2017-05-26 21:23:55 -04:00
kennethreitz dfd667df96 who wrote this shit 2017-05-26 21:17:13 -04:00
kennethreitz f41560c5d4 fix the tests 2017-05-26 21:15:58 -04:00
kennethreitz ce64cce14e API improvements 2017-05-26 21:07:37 -04:00
kennethreitz 14d6fa1472 __version__.py 2017-05-25 20:07:38 -04:00
kennethreitz 64efd9cfe0 yay i knew i wasn't crazy 2017-05-25 20:07:23 -04:00
kennethreitz 1001bc671a fix imports 2017-05-25 19:58:44 -04:00
Ian Cordasco e038aad3cc Avoid breaking people using requests.__version__
Using __version__ as a module breaks users who expect
requests.__version__ to be the version string.
2017-05-25 18:44:30 -05:00
kennethreitz 9fbfd22f6b take a page out of @sigmavirus42's book 2017-05-25 11:46:00 -04:00
kennethreitz 3e32356716 __version__.py 2017-05-25 11:31:38 -04:00
kennethreitz dbb67a1310 Update __init__.py 2017-05-24 08:50:22 -07:00
Ilkka Tuohela a9470fe31f Fix regression in API caused by commit 85400d8d67
- The added optional parameter changes API and should default to None

    This utility call is used by for example requestbuilder package directly
    which breaks because it passes only one argument to the function as it
    used to be.
2017-05-24 08:47:46 +03:00
Jonas Laursen 00c6ad58b7 Simplify fix for #4025 2017-05-18 09:04:34 -07:00
Jonas Laursen af66521381 Fix #4025 2017-05-18 09:04:34 -07:00
Cory Benfield e4693eba4f v2.14.2 2017-05-10 15:04:22 +01:00
Cory Benfield 3618f3f68e v2.14.1 2017-05-09 19:58:39 +01:00
Cory Benfield 508d47dc6e v2.14.0 2017-05-09 16:44:27 +01:00
Cory Benfield 074c4a32d8 Update certifi to 2017.4.17 2017-05-09 09:37:52 +01:00
Cory Benfield debc5de6d4 Update idna to v2.5 2017-05-09 09:36:27 +01:00
Cory Benfield 4bad52caa2 Update chardet to v3.0.2 2017-05-09 09:34:51 +01:00
Cory Benfield d49f3e258c Update urllib3 to v1.21.1 2017-05-09 09:21:08 +01:00
Randy Barlow 3d813c9a7a Specify that the timeout parameter is in seconds.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2017-05-06 21:25:50 -04:00
schlamar 1c38e1f5f6 proxy bypass on Windows without DNS lookups 2017-05-04 10:44:47 +02:00
schlamar 724fd44b97 revert 8e6e47af and c121b98c 2017-05-04 07:46:59 +02:00
kennethreitz eae38b8d13 Merge pull request #3988 from Lukasa/fix-appveyor
[WIP] Fix up appveyor testing.
2017-05-03 13:25:25 -04:00
Cory Benfield d89f8c0d70 Fix up Appveyor testing 2017-05-03 13:19:46 +01:00
Chris Gavin 19ba9f1097 Remove some unused imports. 2017-04-25 22:10:01 +01:00
Thomas Grainger fcb272cc36 remove seemingly redundant pyflakes references 2017-04-20 13:23:56 +01:00
shmuelamar 722b1dae96 fix handle of non-ascii location on redirects 2017-04-18 00:08:59 +03:00
shmuelamar a3e597c171 fix unicode decode error on py2 when handling redirect without scheme 2017-04-14 16:20:27 +03:00
Xuanwo 1cd173a82c Fix a typo in utils
Signed-off-by: Xuanwo <xuanwo.cn@gmail.com>
2017-04-08 20:56:28 +08:00
Ruben Dura Tari ead8fba84b Fixes DeprecationWarnings in Python 3.6 due to invalid escape sequences. Fixes #3954 2017-04-05 15:51:58 +01:00
Cory Benfield 342096a3b9 Merge pull request #3943 from leo-b/timeout
HTTPAdapter.send() timeout defaults
2017-04-03 16:45:11 +01:00
Anthony Shaw a63ae02e34 Update sessions.py
Update docstring for the session init to explain what the cert kwarg types are for.
2017-04-02 20:29:48 +10:00
Alexander 'Leo' Bergolth 4c13678587 remove change for timeout=None 2017-03-30 16:20:39 +02:00
Alexander 'Leo' Bergolth 1e7ae063ce whitespace 2017-03-29 18:20:11 +02:00
Alexander 'Leo' Bergolth fe58c6fdd6 small rearrangement 2017-03-29 18:01:18 +02:00
Alexander 'Leo' Bergolth a180db963f allow urllib3 Timeout objects as timeout parameter for HTTPAdapter.send()
omit timeout argument when calling urlopen on the connection. this allows setting a default timeout at connection pool level:
adapter.poolmanager.connection_pool_kw['timeout'] = urllib3.Timeout(...)
2017-03-29 16:53:28 +02:00
Bastien Gérard 4207867aaf PR review fixes:
- used httpbin_secure for tests
- updated docstring related to `verify` param"
- used TLS acronym instead of SSL
2017-03-22 21:28:38 +01:00