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
df0dc2b67a
+1
2012-01-15 16:39:46 -05:00
Frank Kumro
0536e5b708
Added prefetch documentation for api
2012-01-12 22:16:31 -05:00
Tom Moertel
79f5d532c6
Fix bug in HTTP-digest auth w/ URI having query string
2012-01-10 18:18:54 -05:00
Kenneth Reitz
6af6a08b7a
Merge pull request #344 from sharat87/patch-1
...
Do not pass over the `session` argument to `Session.request` method
2012-01-10 11:11:01 -08:00
Kenneth Reitz
11e5126454
Merge pull request #347 from LucianU/patch-1
...
Printing the entire traceback, instead of just a warning, when an except...
2012-01-10 11:08:53 -08:00
Piotr Dobrogost
bbbeedb0a2
fixes issue #349
2012-01-10 16:47:21 +01:00
Lucian Ursu
86eba21b8a
Printing the entire traceback, instead of just a warning, when an exception is encountered
2012-01-10 12:10:58 +02:00
Shrikant Sharat Kandula
53d679edba
The request method of Session class does not take a session argument. But api.request does. So, it has to be popped before you can send the whole kwargs dict to Session.request method.
2012-01-09 11:16:54 +05:30
Kenneth Reitz
14e8eea0ee
Merge remote-tracking branch 'origin/develop' into develop
2012-01-07 17:18:53 -05:00
Kenneth Reitz
2b849545ea
urllib3 update
2012-01-07 17:18:49 -05:00
Ben Edwards
a25141f9f4
Fix syntax error in last commit.
2012-01-06 13:52:49 -07:00
Jonas Obrist
3415e6de0b
Give a more useful error message when the URL supplied does not contain a schema.
2012-01-06 16:20:33 +01:00
Kenneth Reitz
638532dd9a
v0.9.1
2012-01-06 01:10:53 -05:00
Kenneth Reitz
c6fc7d99b5
Merge branch 'develop' of https://github.com/gazpachoking/requests into develop
2012-01-06 01:08:06 -05:00
Bryan Helmig
459a91c54f
highway to the danger_mode
2012-01-05 12:50:44 -06:00
Bryan Helmig
115b51e68c
add eager mode for raising errors immediately
2012-01-04 22:08:01 -06:00
Chase Sterling
5174ab4325
Make sure newlines at chunk borders do not get dropped using iter_lines.
2012-01-03 00:38:59 -05:00
Chase Sterling
95911f059a
Refactor r.iter_lines to retrieve more than one byte at a time.
...
Fixes universal line ending handling, but takes away ability to specyfy
custom line endings.
2012-01-02 16:19:35 -05:00
Kenneth Reitz
49140d6880
✨ 2012 ✨
2012-01-01 00:44:20 -05:00
Chase Sterling
9c6ffc5303
Refactor stream_decode_gzip and _deflate into one function, stream_decompress.
...
stream_decompress will now iterate over the raw data if there is a problem with decompression
Remove gzip decoding from Response.content, as urllib3 was doing it anyway.
2011-12-30 22:18:08 -05:00
Chase Sterling
f80984f377
Implement automatic deflating when using response.iter_content. refs #327
...
Refactor response.iter_lines to use responset.iter_content.
2011-12-30 18:55:56 -05:00
Kenneth Reitz
7fdb541e2d
make it true
2011-12-28 04:48:27 -05:00
Kenneth Reitz
8aa015ffc9
v0.8.9
2011-12-28 04:26:23 -05:00
Kenneth Reitz
9fcfec18da
ssl docs
2011-12-28 03:18:40 -05:00
Kenneth Reitz
a83268b01b
v0.8.8 release
2011-12-28 03:01:36 -05:00
Kenneth Reitz
f7e67c01ea
only use session verify when not modified
2011-12-28 02:57:36 -05:00
Kenneth Reitz
544a5fea59
more info
2011-12-28 02:51:49 -05:00
Kenneth Reitz
0a8bb2e1b3
verification support in sessions
2011-12-28 02:51:42 -05:00
Kenneth Reitz
5184f0c5a9
SSL support!
2011-12-28 02:43:13 -05:00
Kenneth Reitz
9a1a4136ac
new SSLError
2011-12-28 02:43:03 -05:00
Kenneth Reitz
ca26c1a253
api cleanup
2011-12-28 02:42:57 -05:00
Kenneth Reitz
a91ac242f3
simplify api.request
2011-12-28 01:51:26 -05:00
Kenneth Reitz
bdda99c0c1
urllib3 update
2011-12-27 23:14:54 -05:00
Kenneth Reitz
0bfc029b5e
v0.8.7
2011-12-24 03:16:40 -05:00
Kenneth Reitz
4eb2759400
force safe mode for async
2011-12-24 03:06:13 -05:00
Ori Livneh
e1615e0f1e
Make safe_mode handle exceptions more consistently
2011-12-23 16:14:46 -05:00
Ori Livneh
716d29c49c
fix iteration on null responses in safe_mode
2011-12-22 21:10:43 -05:00
Ori Livneh
a7223f86a9
Undo stupid change to while loop
2011-12-22 17:51:22 -05:00
Ori Livneh
2c0ff95d4d
Revert "Revert "Make safe_mode play nice with timeout ( fixes #312 )""
...
This reverts commit 91766548d1 .
2011-12-22 17:50:43 -05:00
Ori Livneh
91766548d1
Revert "Make safe_mode play nice with timeout ( fixes #312 )"
...
This reverts commit 805c4db55413c96c5d6e0f95560119c000f660c9.
2011-12-22 17:42:57 -05:00
Ori Livneh
12f3c65e5a
Make safe_mode play nice with timeout ( fixes #312 )
2011-12-22 16:52:29 -05:00
Kenneth Reitz
f5e421e880
1 instead of True
...
#313
2011-12-22 11:55:55 -05:00
Ori Livneh
f214b91d77
fix bug that causes iter_lines to truncate content
...
Currently, if the response does not terminate with a newline, iter_lines
truncates the trailing remainder.
2011-12-20 02:01:37 -05:00
Kenneth Reitz
c910b958f0
quotes
2011-12-18 19:18:16 -05:00
Kenneth Reitz
6ce4ece8aa
v0.8.6
2011-12-18 19:18:09 -05:00
Kenneth Reitz
8207ed074e
keep auth DRY
2011-12-18 19:14:50 -05:00
Kenneth Reitz
f8cf713f41
Merge branch 'proxy_auth' of https://github.com/chrisguitarguy/requests into develop
2011-12-18 19:11:39 -05:00
Kenneth Reitz
8f58c095c5
urllib3 update
2011-12-18 14:10:38 -05:00