Kenneth Reitz [Sun, 22 May 2011 17:31:17 +0000 (13:31 -0400)]
new settings location
Kenneth Reitz [Sun, 22 May 2011 17:31:09 +0000 (13:31 -0400)]
cleanup — comments
Kenneth Reitz [Sun, 22 May 2011 17:30:55 +0000 (13:30 -0400)]
new config module
Kenneth Reitz [Sun, 22 May 2011 17:30:22 +0000 (13:30 -0400)]
no import packages
Kenneth Reitz [Sun, 22 May 2011 17:27:17 +0000 (13:27 -0400)]
settings -> config
reimpliment settings as singleton
Kenneth Reitz [Sun, 22 May 2011 16:14:50 +0000 (12:14 -0400)]
pypy binary moved
Kenneth Reitz [Sun, 22 May 2011 16:10:56 +0000 (12:10 -0400)]
useragent
Kenneth Reitz [Sun, 22 May 2011 15:35:01 +0000 (11:35 -0400)]
restore allow_redirect behavior
Kenneth Reitz [Sun, 22 May 2011 15:25:31 +0000 (11:25 -0400)]
Merge pull request #37 from jgorset/requests
---
![Meme](http://i.imgur.com/kXzcW.jpg)
Johannes [Sun, 22 May 2011 09:39:49 +0000 (11:39 +0200)]
Support relative redirects. Fixes #36
Kenneth Reitz [Sat, 21 May 2011 20:24:28 +0000 (16:24 -0400)]
not tablib..
Kenneth Reitz [Sat, 21 May 2011 17:04:32 +0000 (13:04 -0400)]
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
Kenneth Reitz [Sat, 21 May 2011 17:00:21 +0000 (13:00 -0400)]
updated history
Kenneth Reitz [Sat, 21 May 2011 16:47:29 +0000 (12:47 -0400)]
python2.5 with
Kenneth Reitz [Sat, 21 May 2011 16:44:58 +0000 (12:44 -0400)]
Improved redirection behavior for 301/303
Johannes [Fri, 20 May 2011 20:50:50 +0000 (22:50 +0200)]
Slight refactor
Johannes [Fri, 20 May 2011 18:45:51 +0000 (20:45 +0200)]
Stop importing inspect
Johannes [Fri, 20 May 2011 18:32:39 +0000 (20:32 +0200)]
Migrate settings to new module
Kenneth Reitz [Fri, 20 May 2011 16:55:36 +0000 (12:55 -0400)]
no toys
Kenneth Reitz [Fri, 20 May 2011 16:53:20 +0000 (12:53 -0400)]
new settings module
Johannes [Fri, 20 May 2011 16:34:43 +0000 (18:34 +0200)]
Fix typos
Johannes [Fri, 20 May 2011 16:31:23 +0000 (18:31 +0200)]
Adjust tests
Johannes [Fri, 20 May 2011 16:20:17 +0000 (18:20 +0200)]
Relocate exceptions
Johannes [Fri, 20 May 2011 16:17:46 +0000 (18:17 +0200)]
Raise Timeout on request timeouts
Johannes [Thu, 19 May 2011 21:32:27 +0000 (23:32 +0200)]
Fix typos
Johannes Gorset [Thu, 19 May 2011 08:16:54 +0000 (10:16 +0200)]
Refactor Request#__init__
Johannes Gorset [Thu, 19 May 2011 08:14:15 +0000 (10:14 +0200)]
Add test for non-urlencoded post data
Johannes Gorset [Thu, 19 May 2011 08:13:42 +0000 (10:13 +0200)]
Add tests for settings
Johannes Gorset [Thu, 19 May 2011 08:13:37 +0000 (10:13 +0200)]
Refactor settings
Kenneth Reitz [Wed, 18 May 2011 14:11:07 +0000 (10:11 -0400)]
home page url change
Kenneth Reitz [Mon, 16 May 2011 05:38:48 +0000 (01:38 -0400)]
urllib2
Kenneth Reitz [Mon, 16 May 2011 05:33:33 +0000 (01:33 -0400)]
no quickstart till done
Kenneth Reitz [Mon, 16 May 2011 05:31:54 +0000 (01:31 -0400)]
"a kennethreitz project"
Kenneth Reitz [Mon, 16 May 2011 05:18:09 +0000 (01:18 -0400)]
api update
Kenneth Reitz [Mon, 16 May 2011 05:13:05 +0000 (01:13 -0400)]
Big API update
Kenneth Reitz [Mon, 16 May 2011 04:10:30 +0000 (00:10 -0400)]
not tablib
Kenneth Reitz [Mon, 16 May 2011 03:24:25 +0000 (23:24 -0400)]
doc fixes (pretty)
Kenneth Reitz [Mon, 16 May 2011 03:19:19 +0000 (23:19 -0400)]
Major docs cleanup
Kenneth Reitz [Mon, 16 May 2011 03:00:15 +0000 (23:00 -0400)]
GA and CR
Kenneth Reitz [Mon, 16 May 2011 02:58:17 +0000 (22:58 -0400)]
config update
Kenneth Reitz [Mon, 16 May 2011 01:29:49 +0000 (21:29 -0400)]
features philosophy
Kenneth Reitz [Mon, 16 May 2011 01:22:40 +0000 (21:22 -0400)]
can/cant
Kenneth Reitz [Mon, 16 May 2011 01:14:51 +0000 (21:14 -0400)]
docs update
Kenneth Reitz [Mon, 16 May 2011 01:01:48 +0000 (21:01 -0400)]
installation
Kenneth Reitz [Mon, 16 May 2011 01:01:44 +0000 (21:01 -0400)]
api.py -> api.rst
Kenneth Reitz [Mon, 16 May 2011 00:46:36 +0000 (20:46 -0400)]
docs intro
Kenneth Reitz [Mon, 16 May 2011 00:46:28 +0000 (20:46 -0400)]
docs refactor
Kenneth Reitz [Mon, 16 May 2011 00:34:40 +0000 (20:34 -0400)]
better links
Kenneth Reitz [Mon, 16 May 2011 00:25:01 +0000 (20:25 -0400)]
example udpate
Kenneth Reitz [Mon, 16 May 2011 00:24:55 +0000 (20:24 -0400)]
webkit scrollbars
Kenneth Reitz [Sun, 15 May 2011 21:52:09 +0000 (17:52 -0400)]
better index
Kenneth Reitz [Sun, 15 May 2011 21:49:59 +0000 (17:49 -0400)]
index cleanup
Kenneth Reitz [Sun, 15 May 2011 21:28:16 +0000 (17:28 -0400)]
testimonials
Kenneth Reitz [Sun, 15 May 2011 17:23:05 +0000 (13:23 -0400)]
orgs
Kenneth Reitz [Sun, 15 May 2011 17:14:22 +0000 (13:14 -0400)]
link fix
Kenneth Reitz [Sun, 15 May 2011 17:13:41 +0000 (13:13 -0400)]
much better index
Kenneth Reitz [Sun, 15 May 2011 17:05:22 +0000 (13:05 -0400)]
better verbage
Kenneth Reitz [Sun, 15 May 2011 17:01:58 +0000 (13:01 -0400)]
better title
Kenneth Reitz [Sun, 15 May 2011 16:49:19 +0000 (12:49 -0400)]
better
Kenneth Reitz [Sun, 15 May 2011 16:43:34 +0000 (12:43 -0400)]
initial doc index
Kenneth Reitz [Sun, 15 May 2011 15:35:06 +0000 (11:35 -0400)]
name fix
Kenneth Reitz [Sun, 15 May 2011 04:41:26 +0000 (00:41 -0400)]
ignore builds
Kenneth Reitz [Sun, 15 May 2011 04:41:00 +0000 (00:41 -0400)]
config update
Kenneth Reitz [Sun, 15 May 2011 04:38:59 +0000 (00:38 -0400)]
added krthemes
Kenneth Reitz [Sun, 15 May 2011 04:00:44 +0000 (00:00 -0400)]
updated history for v0.4.0
Kenneth Reitz [Sun, 15 May 2011 03:58:07 +0000 (23:58 -0400)]
Merge branch 'release/0.4.0' into develop
Kenneth Reitz [Sun, 15 May 2011 03:57:53 +0000 (23:57 -0400)]
version bump
Kenneth Reitz [Sun, 15 May 2011 03:57:19 +0000 (23:57 -0400)]
history update
Kenneth Reitz [Sun, 15 May 2011 03:54:43 +0000 (23:54 -0400)]
readme update
Kenneth Reitz [Sun, 15 May 2011 03:22:26 +0000 (23:22 -0400)]
ignore http errors in redirect loops
Kenneth Reitz [Sun, 15 May 2011 03:21:58 +0000 (23:21 -0400)]
python 2.5 fix
Kenneth Reitz [Sun, 15 May 2011 03:03:31 +0000 (23:03 -0400)]
cleanup mess
Kenneth Reitz [Sun, 15 May 2011 03:00:40 +0000 (23:00 -0400)]
Custom RedirectHandler and .history support.
Closes #23
Kenneth Reitz [Sun, 15 May 2011 02:02:14 +0000 (22:02 -0400)]
pass things into the dict
Kenneth Reitz [Sun, 15 May 2011 02:02:07 +0000 (22:02 -0400)]
CaseInsensitiveDict for Headers
Kenneth Reitz [Sun, 15 May 2011 01:52:33 +0000 (21:52 -0400)]
Headers: Default to None
Kenneth Reitz [Sun, 15 May 2011 01:50:41 +0000 (21:50 -0400)]
remote async __all__
Kenneth Reitz [Sun, 15 May 2011 01:50:25 +0000 (21:50 -0400)]
New CaseInsensitiveDict
Kenneth Reitz [Sat, 14 May 2011 18:46:47 +0000 (14:46 -0400)]
date header on history
Kenneth Reitz [Sat, 14 May 2011 18:30:36 +0000 (14:30 -0400)]
Version bump: v0.3.4
Kenneth Reitz [Sat, 14 May 2011 18:29:41 +0000 (14:29 -0400)]
history update
Kenneth Reitz [Sat, 14 May 2011 18:24:06 +0000 (14:24 -0400)]
cleaner patch names
Kenneth Reitz [Sat, 14 May 2011 18:21:42 +0000 (14:21 -0400)]
package refactor
Kenneth Reitz [Sat, 14 May 2011 18:02:36 +0000 (14:02 -0400)]
HTTP Basic recursion. Fixes #31
Kenneth Reitz [Sat, 14 May 2011 17:11:08 +0000 (13:11 -0400)]
history for v0.3.4
Kenneth Reitz [Sat, 14 May 2011 17:04:49 +0000 (13:04 -0400)]
Added Megan Emurayama to authors
Kenneth Reitz [Thu, 12 May 2011 17:36:45 +0000 (13:36 -0400)]
Merge pull request #29 from meganemura/requests
---
raised Attribute Error when post str data something like json because of not having items attribute.
move encoding data to utf-8 inside hasattr(data, items)
megane murayama [Thu, 12 May 2011 16:50:09 +0000 (12:50 -0400)]
fix for post non-dict data
Kenneth Reitz [Thu, 12 May 2011 14:12:04 +0000 (10:12 -0400)]
slight refactor
Kenneth Reitz [Thu, 12 May 2011 14:09:00 +0000 (10:09 -0400)]
Merge https://github.com/jgorset/requests into develop
Johannes Gorset [Thu, 12 May 2011 08:16:21 +0000 (10:16 +0200)]
Encode both keys and values for incoming unicode data as UTF-8, coincidentally fixing a bug that caused UTF-8 encoded byte strings to be encoded twice and causing an UnicodeDecodeError.
Kenneth Reitz [Thu, 12 May 2011 08:02:18 +0000 (04:02 -0400)]
Merge branch 'release/0.3.3' into develop
Kenneth Reitz [Thu, 12 May 2011 08:02:06 +0000 (04:02 -0400)]
version bump
Kenneth Reitz [Thu, 12 May 2011 07:57:17 +0000 (03:57 -0400)]
update history
Kenneth Reitz [Thu, 12 May 2011 07:56:13 +0000 (03:56 -0400)]
Merge branch 'feature/timeout' into develop
Kenneth Reitz [Thu, 12 May 2011 07:20:27 +0000 (03:20 -0400)]
unicode urls
Kenneth Reitz [Thu, 12 May 2011 07:14:09 +0000 (03:14 -0400)]
Encode incoming data.
Closes #27.
Kenneth Reitz [Thu, 12 May 2011 07:12:30 +0000 (03:12 -0400)]
test for unicode url issues
Kenneth Reitz [Thu, 12 May 2011 04:29:31 +0000 (00:29 -0400)]
sphinx extension fix
Kenneth Reitz [Thu, 21 Apr 2011 21:24:43 +0000 (17:24 -0400)]
Merge pull request #26 from jgorset/requests
---
Ive implemented a `settings` context manager as described in [pull request #25](https://github.com/kennethreitz/requests/pull/25#issuecomment-1039541).
>>> import requests
>>> with requests.settings(timeout=0.5):
... requests.get(http://example.org) # Times out after 0.5 seconds
... requests.get(http://example.org, timeout=10) # Times out after 10 seconds
Settings may also be manipulated separately:
>>> import requests
>>> requests.timeout = 0.5
>>> requests.get(http://example.org) # Times out after 0.5 seconds