Commit Graph

44 Commits

Author SHA1 Message Date
Florian Mueller c41932e184 Fixed some pickeling issues with HTTPAdapter and Session
Added trust_env and stream to Session.__attrs__. Initialize
self._pool_connections and self._pool_maxsize in HTTPAdapter.
2013-03-12 16:04:19 +01:00
Darjus Loktevic e706d18cf8 Pickling of Session and HTTPAdapter + a test
This is for issue #1088
2013-03-11 18:12:34 +00:00
Kenneth Reitz 23d8522285 Revert "[kennethreitz/requests#1208] adding a max_retries argument"
This reverts commit 796d3225dd.
2013-03-03 12:01:38 -05:00
Wilfred Hughes 796d3225dd [kennethreitz/requests#1208] adding a max_retries argument 2013-02-27 16:01:23 +00:00
Kenneth Reitz 1fc567449c Merge pull request #1210 from Lukasa/urlencode_proxy
Unquote proxy usernames and passwords.
2013-02-25 02:31:00 -08:00
Kenneth Reitz c01bc5be5b Revert "Lukasa is lazy"
This reverts commit 178ff62b93.
2013-02-22 08:23:34 -05:00
Cory Benfield 577dba2bf7 Unquote proxy usernames and passwords. 2013-02-22 11:33:01 +11:00
Kenneth Reitz 178ff62b93 Lukasa is lazy 2013-02-20 02:11:41 -05:00
Cory Benfield c2480f65e6 Rethrow underlying exceptions. 2013-02-18 16:30:16 +11:00
Cory Benfield d437c338d0 Add Proxy-Auth header when proxies have credentials. 2013-02-06 18:40:35 +00:00
Ian Cordasco c8ad4f0b73 Move the timing work to Session.send
per @kennethreitz's request
2013-01-28 11:53:02 -05:00
Chris Lee 318300848f Use timedelta and change attribute name back to elapsed 2013-01-27 19:07:48 -08:00
Chris Lee d4aaef1e9a Time how long each request takes
Stored as attribute Response.time_taken
2013-01-27 19:06:50 -08:00
Ian Cordasco e1c4fe21d4 Fix #1106 2013-01-19 11:49:52 -05:00
László Vaskó 347a52aa5c Fixed proxy requests to pool connections. 2013-01-18 13:41:14 +01:00
Kenneth Reitz ef8563ab36 CHUNKED REQUESTS! 2013-01-10 01:58:29 -05:00
Ian Cordasco 5264c71d86 Fix #1079
Restore the functionality from here:
https://github.com/kennethreitz/requests/blob/v0.14.2/requests/models.py#L884
2013-01-02 14:25:33 -05:00
Cory Benfield 054e1ab3ee Remove silly print statement. 2012-12-28 15:38:04 +00:00
Cory Benfield 641f4611b2 Make sure proxies have their scheme attached. 2012-12-27 13:37:36 +00:00
Cory Benfield 702f4039bc Use full URL when contacting proxies.
Requests should use the full URL, not the path URL, when forwarding
traffic through proxies.
2012-12-27 11:22:36 +00:00
Cory Benfield 09da1921ff Import basestring. 2012-12-19 21:37:47 +00:00
Cory Benfield f1ba27faa2 Fix stupid, stupid logic error. 2012-12-19 20:26:41 +00:00
Cory Benfield 8cb904b49d Correctly identify cert files.
Resolves issue #1046.
2012-12-19 20:11:17 +00:00
Ian Cordasco 68d394952a A bit of linting.
Mostly removed a whole bunch of unused imports.
2012-12-17 20:19:11 -05:00
Kenneth Reitz 5eb3a17b55 v1.0.2 2012-12-17 13:58:07 -05:00
Kenneth Reitz 5152c98223 fix for #1017 2012-12-17 13:52:46 -05:00
Kenneth Reitz 1e64fbcb55 CURL_CA_BUNDLE 2012-12-17 13:41:20 -05:00
Kenneth Reitz 910b2312d6 fix verify bug
Fixes #1019
2012-12-17 13:38:38 -05:00
Kenneth Reitz a982b0d903 proxy manager 2012-12-17 07:21:10 -05:00
Kenneth Reitz 4c3b9df609 /s/prefetch/stream 2012-12-17 06:35:01 -05:00
Kenneth Reitz 5b5d8a81b7 remove bunk 2012-12-17 06:26:22 -05:00
Kenneth Reitz bc4af7c7e1 docstrings 2012-12-17 06:25:47 -05:00
Kenneth Reitz ca0d08eeda urlparse(url) 2012-12-17 06:25:03 -05:00
Kenneth Reitz 42ee255c80 no staticmethod 2012-12-17 04:56:16 -05:00
Kenneth Reitz 4837900832 digest works!
added some nice backwards compatible stuff too
2012-12-17 04:55:58 -05:00
Kenneth Reitz 2b4ca0b0dc redorder imports 2012-12-17 03:32:24 -05:00
Kenneth Reitz 4e5c4a6ab7 further remove config 2012-12-17 03:26:47 -05:00
Kenneth Reitz 8cf6a3593d reduce imports 2012-12-17 03:23:16 -05:00
Kenneth Reitz e4b56049ad from cookies import extract_cookies_to_jar 2012-12-17 03:21:50 -05:00
Kenneth Reitz e766f0b67c meh 2012-12-17 03:16:21 -05:00
Kenneth Reitz cc4b0b110f further remove config 2012-12-17 03:08:25 -05:00
Kenneth Reitz 92d57036f3 WHOOOOOOOOOOOOOOOO 2012-12-15 05:50:01 -05:00
Kenneth Reitz 5ce4b69c9f working!!! 2012-12-15 05:17:37 -05:00
Kenneth Reitz 88d4143018 base adapter 2012-12-15 04:33:48 -05:00