Commit Graph

379 Commits

Author SHA1 Message Date
Alberto Paro bcd30f05ab Added setuptools management to setup.py to allow to install in develop mode 2011-06-21 22:48:31 +02:00
Kenneth Reitz bd49da067f updated history 2011-06-21 00:07:41 -04:00
moliware 3e7c682e66 Support for proxies 2011-06-19 22:36:50 +02:00
Kenneth Reitz bbd1e40bd5 no pypy default 2011-06-17 14:09:33 -04:00
Kenneth Reitz a25f5ff1dd that works 2011-06-17 13:51:29 -04: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 023ab755e5 Move the code to encode the request data into a static helper method - I think this makes the code clearer, but it also prepares the way for reusing the encoding code 2011-06-16 13:35:33 +01:00
Richard Boulton 4320f81bf4 Actually use the HTTPSBIN variable for test https requests 2011-06-16 13:06:22 +01:00
Kenneth Reitz 47f1f28385 + Richard Boulton to AUTHOURS 2011-06-16 06:27:13 -04: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
Zbigniew Siciarz 4d3a9defd2 Porting cookie test to httpbin.org. 2011-06-16 09:08:32 +02:00
Zbigniew Siciarz 1f1211747b Merge remote-tracking branch 'upstream/develop' into develop 2011-06-16 08:56:38 +02:00
Kenneth Reitz 45e30048f0 port request tests to httpbin.org 2011-06-16 00:11:47 -04:00
Kenneth Reitz 245c6edec3 todo 2011-06-15 22:56:14 -04:00
Kenneth Reitz cb0a96fbf3 Redirect chain flag default off. 2011-06-15 22:43:26 -04:00
Zbigniew Siciarz fade9e36b6 Merge branch 'develop' of git://github.com/kennethreitz/requests into develop 2011-06-13 12:41:40 +02:00
Zbigniew Siciarz 24e2a05605 Merge branch 'master' of git://github.com/kennethreitz/requests into develop 2011-06-13 12:41:33 +02:00
Kenneth Reitz 1749260c97 update tests 2011-06-12 22:02:35 -04:00
Kenneth Reitz 3b86c3c0e3 httpbin 2011-06-12 22:00:17 -04:00
Kenneth Reitz 8f3da7b72c added Daniele Tricoli 'Eriol' to authors 2011-06-12 13:14:56 -04:00
Kenneth Reitz d6cde6a5df add Zbigniew Siciarz to authors 2011-06-09 18:09:39 -04:00
Zbigniew Siciarz 54fd24b757 Testing that cookies actually work. 2011-06-09 12:30:43 +02:00
Kenneth Reitz 2153b21152 less hostility 2011-06-08 19:22:19 -04:00
Kenneth Reitz 74013d751c rackspace cloud's net connection is insane 2011-06-08 19:18:11 -04:00
Kenneth Reitz 1fa1cdd2a3 WHITESPACE 2011-06-08 19:11:08 -04:00
Kenneth Reitz cd0d0a2b17 whitespace 2011-06-05 21:22:35 -04:00
Kenneth Reitz e63569041a Update AUTHORS
Refs #46
2011-05-27 08:02:57 -04:00
Kenneth Reitz 54449483b6 Merge branch 'patch-1' of https://github.com/JNRowe/requests into develop 2011-05-27 08:00:22 -04:00
Kenneth Reitz 52bedf4c0b default post data to empty byte string
Refs #45
2011-05-27 07:59:28 -04:00
James Rowe 5962c0ea86 Subclass dict for CaseInsensitiveDict. 2011-05-27 00:17:44 -07:00
Johannes 9b2d7382bf Conform api.* arguments to api.request arguments.
Fixes #40.
Fixes #41.
2011-05-27 08:36:03 +02:00
Kenneth Reitz 7e3d265b0f gauge.es 2011-05-24 18:38:45 -04:00
Kenneth Reitz f990a7b453 Merge branch 'develop' of github.com:kennethreitz/requests into develop 2011-05-24 17:18:28 -04:00
Kenneth Reitz ef02d02b1f testimonial cleanup 2011-05-24 17:18:19 -04:00
Kenneth Reitz 04c169ecfe Merge pull request #39 from mrtazz/patch-1
e.g. should be i.e. I guess
2011-05-23 08:42:52 -07:00
Daniel Schauenberg 5593f12347 e.g. should be i.e. I guess 2011-05-23 08:39:15 -07:00
Kenneth Reitz 3189d8690e refactor^2 2011-05-22 18:01:21 -04:00
Kenneth Reitz b51e042e73 Merge pull request #38 from jgorset/requests
---

Ive refactored `api.request`. I think. The new version is more robust in that it no longer accepts arbitrary arguments and raises an exception if one attempts to call it with both `params` and `data` (that should probably be supported, though, but thats a topic for another issue).

Conflicts:
	requests/api.py
2011-05-22 17:54:10 -04:00
Johannes 82f1320ed5 Refactor api.request 2011-05-22 23:49:29 +02:00
Kenneth Reitz add6feab02 Merge branch 'release/0.4.1' 2011-05-22 14:16:48 -04:00
Kenneth Reitz 670c4aecdd version bump (v0.4.1) 2011-05-22 14:13:49 -04:00
Kenneth Reitz 215d3984cc setup cleanup 2011-05-22 13:58:37 -04:00
Kenneth Reitz 0b36d925f6 remove debug print 2011-05-22 13:56:57 -04:00
Kenneth Reitz bc290f62d7 defaults 2011-05-22 13:55:13 -04:00
Kenneth Reitz c0faa9e79c new settings location 2011-05-22 13:31:17 -04:00
Kenneth Reitz f887906ec3 cleanup — comments 2011-05-22 13:31:09 -04:00
Kenneth Reitz 982fd9d803 new config module 2011-05-22 13:30:55 -04:00
Kenneth Reitz d64bf501d0 no import packages 2011-05-22 13:30:22 -04:00
Kenneth Reitz 49f1ec1efb settings -> config
reimpliment settings as singleton
2011-05-22 13:27:17 -04:00