Kenneth Reitz
d33ce49aaa
keep-alive
2014-08-28 13:05:30 -04:00
Kenneth Reitz
89cb408bb0
v2.4.0
2014-08-28 13:05:23 -04:00
Ian Cordasco
596ca83f0c
Update verify check and doc-string
2014-08-26 14:20:19 -05:00
Ian Cordasco
b4a7906bca
Add Session method to merge environment settings with per-request settings
2014-08-26 14:20:19 -05:00
kennethreitz
32e403a908
Merge pull request #2176 from kevinburke/connect
...
Add support for connect timeouts
2014-08-26 15:13:30 -04:00
Kevin Burke
8bbc4fcb57
Updates urllib3 to 528ad3c
...
This includes fixes for openssl running with Pypy, so SSL connections can be
made if ndg-httpsclient, pyopenssl and pyasn1 are installed.
see also:
- https://github.com/shazow/urllib3/issues/449
- https://github.com/pypa/pip/issues/1988
2014-08-25 13:44:29 -07:00
Kevin Burke
8f9ce13e43
ConnectTimeout multiple inheritance
2014-08-24 19:56:57 -07:00
Kevin Burke
f0b9b60f62
revert change
2014-08-24 19:46:46 -07:00
Kevin Burke
c2aeaa3959
Add support for connect timeouts
...
Modifies the timeout interface to also accept a tuple (connect, read) which
would be used to set individual connect and read timeouts for Requests. Adds
Advanced documentation explaining the interface and providing guidance for
timeout values.
2014-08-23 15:12:29 -07:00
ContinuousFunction
c7e087cf56
Added space and sentence case
...
Added space and sentence case as requested by sigmavirus24.
https://github.com/kennethreitz/requests/pull/2168
2014-08-21 11:05:02 -07:00
ContinuousFunction
2fc6e8a894
Update on Tracking Previous Requests
...
Modified the comment in sessions.py and rewrote the test in
test_requests.py
2014-08-19 10:51:26 -07:00
ContinuousFunction
df641e74ff
Tracking Previous Requests
...
Addresses the issue brought up here:
https://github.com/kennethreitz/requests/issues/1929
2014-08-17 19:13:26 -07:00
Josh Schneier
47d0517d66
handle urllib3 api changes; closes #2045
2014-07-29 23:29:21 -04:00
Roman Levin
9eab9f7415
Handle socket errors in iter_content
2014-07-24 23:00:50 +02:00
kennethreitz
fe693c4922
Merge pull request #2142 from sigmavirus24/urllib3-1.9
...
Upgrade urllib3 to 1.9.x
2014-07-22 16:21:05 -04:00
Ian Cordasco
170d6269eb
Fix test bug courtesy of @shazow
2014-07-21 15:00:14 -05:00
Ian Cordasco
811ee4eb5d
Upgrade urllib3 to 1.9.x
2014-07-21 13:37:10 -05:00
Cory Benfield
7a51337ce0
Preferentially use certifi to requests.
2014-07-10 21:49:16 +01:00
Ian Cordasco
3957b0befb
Fix silly check
2014-07-02 10:42:00 -05:00
Ian Cordasco
84f67379c8
Update how we check verify when inspecting env variables
2014-07-02 10:26:15 -05:00
kennethreitz
b9bbfa659f
Merge pull request #2049 from codedstructure/adapter-proxy_manager_for
...
Separated out proxy_manager_for to fix #2048
2014-06-23 12:11:13 -07:00
Eric L Frederich
c3444f8c7a
don't make duplicate requests for permanent redirects
2014-06-12 08:25:21 -04:00
Eric L Frederich
da3178f377
Re-add resume to not break existing apps
...
as requested by Cory Benfield
2014-06-11 13:27:36 -04:00
Eric L Frederich
ec3a2e6f04
rename resume/resume_incomplete to permanent_redirect according to rfc7238
...
Use temporary_redirect intead of temporary_moved to make the words
line up nicely ;-)
2014-06-11 11:08:10 -04:00
Eric L Frederich
07d9b730b7
handle 308 redirection the same as 301 and 302
2014-06-10 16:30:17 -04:00
kennethreitz
3ee781b895
Merge pull request #2076 from Lukasa/basic
...
Basic Auth handler sets unicode header value on Python 2
2014-06-09 10:53:23 -04:00
Ben Bass
046302c0cb
indentation change for code review
2014-06-08 15:23:37 +01:00
Cory Benfield
2b8353d3b3
Avoid unnecessary encode/decode cycles.
2014-06-08 10:28:35 +01:00
Cory Benfield
d977ee8a24
Force basic auth strings to native string type
2014-06-08 10:20:32 +01:00
Cory Benfield
22433163b3
Update trivial mentions to RFC 2616.
2014-06-07 09:53:12 +01:00
David Gouldin
32f600b083
Allow copying of PreparedRequests without headers/cookies
2014-05-30 10:11:53 -07:00
Ian Cordasco
5ab79e2514
Remove unnecessary check for builtin_str
2014-05-28 08:17:18 -05:00
Ian Cordasco
3faff0b8ea
Check for basestring, not just str
...
Fixes #2071
2014-05-27 20:29:44 -05:00
kennethreitz
6c72509f5b
Merge pull request #2059 from jschneier/master
...
remove unused IteratorProxy
2014-05-27 11:28:11 -04:00
kennethreitz
e71282394c
Merge pull request #2064 from mgeisler/simplejson-syntax-error-import
...
compat: handle SyntaxError when importing simplejson
2014-05-27 11:25:54 -04:00
Cory Benfield
3346ad1134
Document and initialise Response.request
2014-05-26 16:40:45 +01:00
Martin Geisler
3b0fcb620d
compat: handle SyntaxError when importing simplejson
...
We officially support Python 2.6 to 3.3, but simplejson does not
support Python 3.1 or 3.2:
https://github.com/simplejson/simplejson/issues/66
Importing simplejson on Python 3.2 results in a SyntaxError because
simplejson uses the u'...' syntax (the syntax was not supported in
Python 3.0 to 3.2).
Support for loading simplejson instead of the stdlib json module was
added by #710 :
https://github.com/kennethreitz/requests/pull/710
No mention was made of the lack of support for Python 3.2, but it was
mentioned that simplejson can be faster than the stdlib json module.
2014-05-26 00:56:35 +02:00
Josh Schneier
7815953cb4
remove unused IteratorProxy
2014-05-23 11:52:17 -04:00
Ben Bass
54e96b40b7
allow pool_kwargs to be specified in init_poolmanager
2014-05-18 20:24:35 +01:00
Ben Bass
02618c8df5
improve proxy_manager_for re-usability by subclass
2014-05-18 20:10:35 +01:00
Ben Bass
f97e78726e
Factor out HTTPAdapter.proxy_manager_for for #2048
2014-05-17 23:15:51 +01:00
Kenneth Reitz
6366d3dd19
v2.3.0
2014-05-16 13:55:47 -04:00
Kenneth Reitz
343db40375
Merge remote-tracking branch 'origin/master'
2014-05-16 13:44:21 -04:00
schlamar
59c8d81381
Read content in Session.send instead of Adapter.send.
2014-05-12 22:42:54 +02:00
schlamar
c2a1f28a2e
Catch possible exceptions while consuming content of redirect responses.
2014-05-12 22:42:53 +02:00
Kenneth Reitz
c15a8f8a3d
CaseInsensitiveDict now looks like a normal dict
2014-05-12 15:10:15 -04:00
kennethreitz
5893cfcd90
Merge pull request #1972 from avidas/response_str
...
Add __str__ to case insensitive dict
2014-05-12 15:08:31 -04:00
kennethreitz
c023f06aad
Merge pull request #1924 from schlamar/proxy-default-scheme
...
Default proxy scheme to HTTP
2014-05-12 15:05:56 -04:00
kennethreitz
569cd23c00
Merge pull request #1937 from jaraco/master
...
Improved decoding support for Response.iter_content and iter_lines
2014-05-12 15:04:35 -04:00
Donald Stufft
626c48e947
Update urllib3 to 4fb351cd2
2014-05-12 14:43:50 -04:00