Commit Graph

32 Commits

Author SHA1 Message Date
Kenneth Reitz 32327f8f7c remove requests.async 2012-05-10 17:01:09 -05:00
Michael Newman d6827a37d0 Excluding select from the monkey patching that gevent does to allow select.poll and requests.async in the same project
Fix for issue #487, including a regression test that checks the
existence of select.poll before and after loading requests.async.
2012-03-15 14:41:45 -04:00
asciimoo 531dc35126 [enh] async.imap added -- generator object handling 2012-02-26 04:04:33 +01:00
Chris Adams 495646bb6a async: force prefetch=True on send
… otherwise we can run out of sockets before any of the responses are ever
processed
2012-01-29 18:42:48 -05:00
Piotr Dobrogost 3873121c01 tiny map() refactoring 2012-01-20 21:42:25 +01:00
Ben e38046e6c6 The async.send method wasn't really doing anything useful. It was just calling the r.send() method of the Request object 'r'. It took an optional kwarg pools, and assigned it to r._pools which isn't used by anything. This situation was eaither broken or not fully implemented yet. I modified async.map to call r.send rather than send(r) and then modified async.send to actually make use of the pool that it is passed. 2012-01-17 15:21:09 -06:00
Ben 97be9ee4cd The async.send method wasn't really doing anything useful. It was just calling the r.send() method of the Request object 'r'. It took an optional kwarg pools, and assigned it to r._pools which isn't used by anything. This situation was eaither broken or not fully implemented yet. I modified async.map to call r.send rather than send(r) and then modified async.send to actually make use of the pool that it is passed. 2012-01-17 15:20:52 -06:00
Ben c658b363e3 The async.send method wasn't really doing anything useful. It was just calling the r.send() method of the Request object 'r'. It took an optional kwarg pools, and assigned it to r._pools which isn't used by anything. This situation was eaither broken or not fully implemented yet. I modified async.map to call r.send rather than send(r) and then modified async.send to actually make use of the pool that it is passed. 2012-01-17 15:17:38 -06:00
Kenneth Reitz 4eb2759400 force safe mode for async 2011-12-24 03:06:13 -05:00
Shrikant Sharat Kandula 99b6e35940 Allow generators or any iterators for async.map 2011-11-25 07:45:12 +05:30
Kenneth Reitz 474e17b0af remove bunk __all__s 2011-11-12 12:53:23 -08:00
Kenneth Reitz ff0f9613f2 Merge https://github.com/juanriaza/requests into develop 2011-11-12 07:29:03 -08:00
Kenneth Reitz 220f687e6f Merge branch 'develop' of https://github.com/jbrendel/requests into develop
Conflicts:
	AUTHORS
	requests/__init__.py
2011-11-09 22:15:54 -08:00
Kenneth Reitz 2999c71e46 more proper prefetch 2011-11-09 17:54:13 -08:00
jbrendel 73ba48be2e Added support for OPTIONS method. 2011-11-08 12:31:18 +13:00
Juan Riaza 6fefffd03e #GH-241 2011-11-06 22:02:14 +01:00
Kenneth Reitz 73ed950e70 simplify 2011-10-24 20:55:35 -04:00
Kenneth Reitz 077758f713 Merge pull request #224 from stoey/84e89429
Syntax error for Python 2.5
2011-10-24 17:54:05 -07:00
Kenneth Reitz b7c788cc56 prettier async patching 2011-10-23 14:44:00 -04:00
Kenneth Reitz af6aa3e572 Move hooks out of top-level loop 2011-10-23 12:26:41 -04:00
Dan Head 84e89429f0 Syntax fix for Python 2.5 2011-10-14 22:24:42 +00:00
Kenneth Reitz 3afd07451c prefetch=False for async.map 2011-10-13 21:10:34 -04:00
Kenneth Reitz 5537902796 Remove keep_alive cruft from urllib3 (for now) 2011-10-13 20:17:22 -04:00
Kenneth Reitz 9518d053a4 _return_request => return_response 2011-10-13 20:11:25 -04:00
Kenneth Reitz 93c44157ba initial import of urllib3 branch async 2011-10-13 20:11:05 -04:00
Kenneth Reitz e8ff405fce remote async __all__ 2011-05-14 21:50:41 -04:00
Kenneth Reitz 14ba99f975 prettier imports 2011-02-25 05:03:12 -05:00
Kenneth Reitz 9a1d90d184 Proper async module docs 2011-02-25 04:43:18 -05:00
Kenneth Reitz e7b8e9371a merge changes 2011-02-24 01:51:53 -05:00
digitalxero 718f45698d Reset copyright on the async module 2011-02-19 15:21:47 -05:00
digitalxero edfdef2396 Add in a proper AuthManager instead of the list version that was being used.
Added support for all Auth types that python supports
2011-02-19 15:04:56 -05:00
digitalxero 3b82b06adc Added an async module to make it explicit to the user that they are using async calls. 2011-02-19 11:13:10 -05:00