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
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
Bastien Gérard
42ec8b08f2
#3927 fixes based on review
2017-03-22 21:28:38 +01:00
Bastien Gérard
7d8b87c37f
#3926 raise IOError when providing an invalid path to a CA bundle or certificate files
2017-03-22 21:28:38 +01:00
Marcos Dione
2e9e944bc1
Removed sentence as suggested.
...
Fair enough...
2017-03-07 10:34:21 +01:00
Marcos Dione
16f6e25176
Add mention to list od tuples as data param.
...
`requests.request` accepts list of tuples in the `data` param, but thereś no mention of it in the docs.
2017-03-07 10:26:51 +01:00
Ian Cordasco
8e6e47af43
Update implementation of TimedCache object
...
There were some odd decisions made about the implementation of some of
the required methods for MuttableMapping in the TimedCache object. This
cleans those up and makes the implementation, ever so slightly, easier
to read.
See also #3885
2017-03-04 09:03:03 -06:00
Lutz Horn
3d22f9f5ab
fixed #3894 by mentioning form-encoding of dict
...
The optional `data` parameter will be form-encoded, if a dictionary is provided.
2017-03-01 16:00:08 +01:00
Victor Pfautz
2aaf6ac038
Fixed some typos ( #3892 )
...
* Fixed some typos
2017-02-27 16:25:10 +00:00
David Fontenot
c121b98c4e
wrapped proxy_bypass() with cache lookup
...
Used to alleviate long gethostbyaddr calls
Made new TimedCache and decorator to wrap
a function with a cache
* Entries looked up older than a minute (default amount)
are evicted.
* When full, evicts the oldest entry
2017-02-23 14:04:16 -08:00
Ian Cordasco
8e049bd9eb
Update docstrings for Response.__{bool,nonzero}__
...
Like the docstring added to Response.ok these were misleading and
vaguely incorrect. Better to be explicit than implicit.
2017-02-16 07:21:15 -06:00
Ian Cordasco
7a281e74ec
Correct docstring for Response.ok
2017-02-16 07:15:37 -06:00
Mislav Cimperšak
3664682539
added docstring for response.ok property
2017-02-16 10:06:28 +01:00
Nate Prewitt
f47aff68f1
properly handled failed seek
2017-02-14 07:45:41 -07:00
kennethreitz
6bd6249051
Merge pull request #3865 from JohnVillalovos/master
...
Allow use of 'no_proxy' in the proxies argument
2017-02-10 15:50:10 -06:00