Kenneth Reitz
66391e5c9d
ACTIVVVAATTTEEEEEEE
2011-08-17 02:01:19 -04:00
Kenneth Reitz
51038497f6
better
2011-08-17 00:40:49 -04:00
Kenneth Reitz
281ab5a8f9
move hooks into api layer only
2011-08-17 00:40:28 -04:00
Kenneth Reitz
8ef0e88220
attach hooks to Request
2011-08-17 00:27:41 -04:00
Kenneth Reitz
7322aa5b64
newlines
2011-08-17 00:02:18 -04:00
Kenneth Reitz
d0cb56932c
new hooks system
...
#118
2011-08-16 23:57:44 -04:00
Kenneth Reitz
773630b010
requests.codes
2011-08-13 14:50:38 -04:00
Kenneth Reitz
629d730da6
all main functions are **kwargs now. People shouldn't be relying on the order.
2011-08-13 13:11:16 -04:00
Zbigniew Siciarz
e4adef5226
Added proxies to requests.settings
2011-08-09 10:03:09 +02:00
Kenneth Reitz
00f066a467
PATCH support
2011-06-21 18:03:06 -04:00
moliware
3e7c682e66
Support for proxies
2011-06-19 22:36:50 +02:00
Richard Boulton
80d860d2d4
Allow POST and PUT requests to take both querystring params and request body
...
data.
2011-06-16 15:48:43 +01:00
Richard Boulton
f31ade335d
Change documentation comments for "params" and "data" parameters to refer to
...
the request body or the query string, as appropriate. "GET parameters", "POST
data", etc aren't the ideal terminology to use - they come from common usage
with web browsers, rather than the HTTP specification, so are off-putting in
other contexts.
2011-06-16 15:40:14 +01:00
Richard Boulton
3d1444b829
Update documentation of the "data" parameter for requests.post() to indicate that it allows bytes. Update documentation of requests.put() to refer to the "data" parameter rather than the (hidden, but functional) "params" parameter, and note that that also allows both bytes and dictionaries.
2011-06-16 03:18:47 -07:00
Kenneth Reitz
52bedf4c0b
default post data to empty byte string
...
Refs #45
2011-05-27 07:59:28 -04:00
Johannes
9b2d7382bf
Conform api.* arguments to api.request arguments.
...
Fixes #40 .
Fixes #41 .
2011-05-27 08:36:03 +02:00
Kenneth Reitz
3189d8690e
refactor^2
2011-05-22 18:01:21 -04:00
Johannes
82f1320ed5
Refactor api.request
2011-05-22 23:49:29 +02:00
Kenneth Reitz
982fd9d803
new config module
2011-05-22 13:30:55 -04:00
Kenneth Reitz
3cdb777c23
restore allow_redirect behavior
2011-05-22 11:35:01 -04:00
Kenneth Reitz
8d9bcefa9d
Merge pull request #35 from jgorset/requests
...
---
Ive completed the migration of the requests settings to the new `settings` module, but my attempt to facilitate for manipulating settings outside of the context manager (eg. `requests.settings.timeout = 5`) has been thwarted by the namespace collision of the context manager and the module.
Im probably just being stupid. Youll figure it out.
Conflicts:
requests/api.py
2011-05-21 13:04:32 -04:00
Kenneth Reitz
e153b94190
Improved redirection behavior for 301/303
2011-05-21 12:44:58 -04:00
Johannes
bbd58b922b
Migrate settings to new module
2011-05-20 20:32:39 +02:00
Johannes
59c747b793
Fix typos
2011-05-19 23:32:27 +02:00
Kenneth Reitz
6e13e7343d
Big API update
2011-05-16 01:13:05 -04:00
Kenneth Reitz
14ef462263
package refactor
2011-05-14 14:21:42 -04:00