summaryrefslogtreecommitdiff
path: root/requests/adapters.py
Commit message (Collapse)AuthorAgeFilesLines
* TimeoutSauce!Kenneth Reitz2013-09-241-3/+3
|
* merge 2.0 insto masterKenneth Reitz2013-09-241-13/+40
|\
| * prototype for new urllib3 timeoutsKenneth Reitz2013-09-241-0/+6
| |
| * Add proxy_headers functionality.Cory Benfield2013-08-141-10/+27
| | | | | | | | | | This brings us in line with urllib3's fancy new magic for sending headers to HTTP(S) proxies.
| * Cache manager for proxy connection.ms4py2013-08-031-1/+5
| |
| * Fix for new proxy API.ms4py2013-08-031-2/+2
| |
| * Proxy urls should have explicit schemes.Cory Benfield2013-07-281-2/+2
| |
* | minor typo: Fix requests spellingSayan Chowdhury2013-09-111-1/+1
|/
* Fix test cases that fail when running behind a proxyDavid Pursehouse2013-07-231-1/+1
| | | | | | | | | When sending a request via `Session.send()` the proxies must be explicitly given with the `proxies` argument. This is not done in the test cases, which means that they fail when run on a system that is behind a proxy. Update test cases to make sure the proxies are set in the sessions.
* added tests for mixed-case scheme URLs, changed adapters passing down URLs ↵Viktor Haag2013-05-241-3/+3
| | | | into urllib3 by lower-ifying them so that the underlying pool manager can effectively pool by scheme as dictionary key
* - fixed func call syntax on lower to lower()Viktor Haag2013-05-241-1/+1
| | | | - added test cases for trying to test GETS on mixed-case schemas
* Lower-ify url before checking against prefix with startswith()Viktor Haag2013-05-241-1/+1
|
* Adding the _pool_bloc to the list of attrs.Randy Merrill2013-05-111-1/+2
|
* Fixing the call to init_poolmanagers to correctly unpickle the adapter.Randy Merrill2013-05-111-1/+2
|
* Moving the order of the arguments in the init to not interfere with existing ↵Randy Merrill2013-05-111-2/+3
| | | | usage.
* Adding an argument to the adapter for passing a block argument to the ↵Randy Merrill2013-05-101-4/+10
| | | | | | | | | | connection pool. This allows for blocking when using threading to prevent the pool from creating more connections that the max-size allows. Specifically was seeing the following errors without the block=True: WARNING:requests.packages.urllib3.connectionpool:HttpConnectionPool is full, discarding connection: www.example.com
* Changed HTTPAdapter to allow max retries to be specified when initializing.Daniel Lindsley2013-04-121-2/+4
|
* Add HTTPAdapter to API docs.Cory Benfield2013-04-091-6/+76
|
* Fixed some pickeling issues with HTTPAdapter and SessionFlorian Mueller2013-03-121-3/+4
| | | | | Added trust_env and stream to Session.__attrs__. Initialize self._pool_connections and self._pool_maxsize in HTTPAdapter.
* Pickling of Session and HTTPAdapter + a testDarjus Loktevic2013-03-111-0/+18
| | | | This is for issue #1088
* Revert "[kennethreitz/requests#1208] adding a max_retries argument"Kenneth Reitz2013-03-031-2/+3
| | | | This reverts commit 796d3225ddf08a9ebaa429209b9d077c3a8f99b8.
* [kennethreitz/requests#1208] adding a max_retries argumentWilfred Hughes2013-02-271-3/+2
|
* Merge pull request #1210 from Lukasa/urlencode_proxyKenneth Reitz2013-02-251-3/+7
|\ | | | | Unquote proxy usernames and passwords.
| * Unquote proxy usernames and passwords.Cory Benfield2013-02-221-3/+7
| |
* | Revert "Lukasa is lazy"Kenneth Reitz2013-02-221-1/+1
|/ | | | This reverts commit 178ff62b934c30278114028f654e42374206c291.
* Lukasa is lazyKenneth Reitz2013-02-201-1/+1
|
* Rethrow underlying exceptions.Cory Benfield2013-02-181-1/+1
|
* Add Proxy-Auth header when proxies have credentials.Cory Benfield2013-02-061-1/+18
|
* Move the timing work to Session.sendIan Cordasco2013-01-281-4/+0
| | | | per @kennethreitz's request
* Use timedelta and change attribute name back to elapsedChris Lee2013-01-271-4/+4
|
* Time how long each request takesChris Lee2013-01-271-0/+4
| | | | Stored as attribute Response.time_taken
* Fix #1106Ian Cordasco2013-01-191-3/+0
|
* Fixed proxy requests to pool connections.László Vaskó2013-01-181-2/+2
|
* CHUNKED REQUESTS!Kenneth Reitz2013-01-101-13/+43
|
* Fix #1079Ian Cordasco2013-01-021-0/+1
| | | | | Restore the functionality from here: https://github.com/kennethreitz/requests/blob/v0.14.2/requests/models.py#L884
* Remove silly print statement.Cory Benfield2012-12-281-1/+0
|
* Make sure proxies have their scheme attached.Cory Benfield2012-12-271-1/+4
|
* Use full URL when contacting proxies.Cory Benfield2012-12-271-2/+19
| | | | | Requests should use the full URL, not the path URL, when forwarding traffic through proxies.
* Import basestring.Cory Benfield2012-12-191-1/+1
|
* Fix stupid, stupid logic error.Cory Benfield2012-12-191-1/+1
|
* Correctly identify cert files.Cory Benfield2012-12-191-1/+1
| | | | Resolves issue #1046.
* A bit of linting.Ian Cordasco2012-12-171-4/+0
| | | | Mostly removed a whole bunch of unused imports.
* v1.0.2Kenneth Reitz2012-12-171-2/+2
|
* fix for #1017Kenneth Reitz2012-12-171-2/+2
|
* CURL_CA_BUNDLEKenneth Reitz2012-12-171-8/+0
|
* fix verify bugKenneth Reitz2012-12-171-1/+1
| | | | Fixes #1019
* proxy managerKenneth Reitz2012-12-171-1/+1
|
* /s/prefetch/streamKenneth Reitz2012-12-171-2/+2
|
* remove bunkKenneth Reitz2012-12-171-2/+0
|
* docstringsKenneth Reitz2012-12-171-0/+1
|