Commit Graph

340 Commits

Author SHA1 Message Date
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 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
Kenneth Reitz 0741448798 pypy binary moved 2011-05-22 12:14:50 -04:00
Kenneth Reitz 8a4d5c4683 useragent 2011-05-22 12:10:56 -04:00
Kenneth Reitz 3cdb777c23 restore allow_redirect behavior 2011-05-22 11:35:01 -04:00
Kenneth Reitz ddc5452978 Merge pull request #37 from jgorset/requests
---

![Meme](http://i.imgur.com/kXzcW.jpg)
2011-05-22 11:25:31 -04:00
Johannes 8aa6fabd4d Support relative redirects. Fixes #36 2011-05-22 11:41:15 +02:00
Kenneth Reitz 398f5b501f not tablib.. 2011-05-21 16:24:28 -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 0b29964bf8 updated history 2011-05-21 13:00:21 -04:00
Kenneth Reitz 06e662be86 python2.5 with 2011-05-21 12:47:29 -04:00
Kenneth Reitz e153b94190 Improved redirection behavior for 301/303 2011-05-21 12:44:58 -04:00
Johannes 7d0374df2f Slight refactor 2011-05-20 22:50:50 +02:00
Johannes 2f60748c73 Stop importing inspect 2011-05-20 20:45:51 +02:00
Johannes bbd58b922b Migrate settings to new module 2011-05-20 20:32:39 +02:00
Kenneth Reitz 21e51b504e no toys 2011-05-20 12:55:36 -04:00
Kenneth Reitz ba79a2eb97 new settings module 2011-05-20 12:54:42 -04:00
Johannes ef81c16611 Fix typos 2011-05-20 18:34:43 +02:00
Johannes da26f1f377 Adjust tests 2011-05-20 18:31:23 +02:00
Johannes c8cc2d0421 Relocate exceptions 2011-05-20 18:20:17 +02:00
Johannes a00dc1abf3 Raise Timeout on request timeouts 2011-05-20 18:17:46 +02:00
Johannes 59c747b793 Fix typos 2011-05-19 23:32:27 +02:00
Johannes Gorset baddc5b6ad Refactor Request#__init__ 2011-05-19 10:16:54 +02:00
Johannes Gorset 637d0330c2 Add test for non-urlencoded post data 2011-05-19 10:14:15 +02:00
Johannes Gorset 21e2d0c34a Add tests for settings 2011-05-19 10:13:42 +02:00
Johannes Gorset ec5f227381 Refactor settings 2011-05-19 10:13:37 +02:00
Kenneth Reitz 8ffb2462f9 home page url change 2011-05-18 10:11:07 -04:00
Kenneth Reitz 12187155b4 urllib2 2011-05-16 01:38:48 -04:00
Kenneth Reitz d7f49f3aa5 no quickstart till done 2011-05-16 01:33:33 -04:00
Kenneth Reitz 461497f5be "a kennethreitz project" 2011-05-16 01:31:54 -04:00
Kenneth Reitz 7929bb91be api update 2011-05-16 01:18:09 -04:00
Kenneth Reitz 6e13e7343d Big API update 2011-05-16 01:13:05 -04:00
Kenneth Reitz f9f3b46ef6 not tablib 2011-05-16 00:10:30 -04:00
Kenneth Reitz cc851818c2 doc fixes (pretty) 2011-05-15 23:24:25 -04:00
Kenneth Reitz ba45b9d890 Major docs cleanup 2011-05-15 23:19:19 -04:00
Kenneth Reitz 9fd70c209b GA and CR 2011-05-15 23:00:15 -04:00
Kenneth Reitz b7970c2a46 config update 2011-05-15 22:58:17 -04:00
Kenneth Reitz a7d072a7c0 features philosophy 2011-05-15 21:29:49 -04:00