Kenneth Reitz
f1bb25b1ec
bugfix
2011-10-23 15:39:33 -04:00
Kenneth Reitz
f9dfbb73dd
requests.request uses config
2011-10-22 20:28:19 -04:00
Kenneth Reitz
597ace5718
import cleanups
2011-10-22 18:13:22 -04:00
Kenneth Reitz
d72d116214
Move request and get to session
2011-10-22 18:10:32 -04:00
Kenneth Reitz
194ff1ad89
#160
2011-10-20 22:09:08 -04:00
Kenneth Reitz
98c5ded4f3
Merge branch 'master' into develop
2011-10-19 16:36:22 -04:00
Kenneth Reitz
cfd38263d1
imports cleanup for @alex ✨ 🍰 ✨
2011-10-19 15:54:22 -04:00
travis
055f7c1eb6
Some Doc and doctoring fixes by the Speling Poleece.
2011-10-19 10:00:13 -05:00
Kenneth Reitz
33dec52b8e
merge cleanups
2011-10-13 22:05:57 -04:00
Kenneth Reitz
aa31b6b4dd
Merge fixes
2011-10-13 22:02:50 -04:00
Kenneth Reitz
46f0146adf
Merge branch 'feature-content-streaming' of https://github.com/mitsuhiko/requests into feature/content-stream
...
Conflicts:
AUTHORS
HISTORY.rst
docs/api.rst
docs/community/faq.rst
docs/user/intro.rst
requests/api.py
requests/models.py
2011-10-13 21:54:42 -04:00
Kenneth Reitz
892fcd6cc0
store hooks in Request.
2011-10-13 20:19:59 -04:00
Kenneth Reitz
9518d053a4
_return_request => return_response
2011-10-13 20:11:25 -04:00
Daniel Miller
aa04cc9b42
Make get and head requests respect allow_redirects=False.
2011-10-05 14:36:12 -04:00
verm666
6f84ce72f2
Fixed logic for auto redirect in GET and HEAD methods.
2011-09-02 15:44:18 -04:00
Kenneth Reitz
35fc3b4dbb
cleanup
2011-08-28 03:22:46 -04:00
Kenneth Reitz
2fa180e9ea
automatic header expansion
2011-08-28 03:22:03 -04:00
Kenneth Reitz
28ee9788a0
Request
2011-08-20 22:51:29 -04:00
Kenneth Reitz
596aceb185
big docs update
2011-08-20 22:47:03 -04:00
Kenneth Reitz
3f873dc222
hooks in api layer only
2011-08-17 04:05:20 -04:00
Kenneth Reitz
e0ae2b4155
fixes
2011-08-17 04:03:54 -04:00
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