Commit Graph

5869 Commits

Author SHA1 Message Date
Kenneth Reitz 0f520a8c69 Merge branch 'release/0.4.0' into develop 2011-05-14 23:58:07 -04:00
Kenneth Reitz aa33194606 Merge branch 'release/0.4.0' v0.4.0 2011-05-14 23:58:00 -04:00
Kenneth Reitz 51360e1ede version bump 2011-05-14 23:57:53 -04:00
Kenneth Reitz af0febe8ad history update 2011-05-14 23:57:19 -04:00
Kenneth Reitz 155863bf71 readme update 2011-05-14 23:55:15 -04:00
Kenneth Reitz 3cec61481c ignore http errors in redirect loops 2011-05-14 23:22:26 -04:00
Kenneth Reitz 5708fe9565 python 2.5 fix 2011-05-14 23:21:58 -04:00
Kenneth Reitz c40deefb8a cleanup mess 2011-05-14 23:03:31 -04:00
Kenneth Reitz cd8ce63a3b Custom RedirectHandler and .history support.
Closes #23
2011-05-14 23:01:13 -04:00
Kenneth Reitz 35beda21b8 pass things into the dict 2011-05-14 22:02:14 -04:00
Kenneth Reitz 85b8b2bd44 CaseInsensitiveDict for Headers 2011-05-14 22:02:07 -04:00
Kenneth Reitz 29aa7736ca Headers: Default to None 2011-05-14 21:52:33 -04:00
Kenneth Reitz e8ff405fce remote async __all__ 2011-05-14 21:50:41 -04:00
Kenneth Reitz 5172d24e66 New CaseInsensitiveDict 2011-05-14 21:50:25 -04:00
Kenneth Reitz dfe7d877eb date header on history 2011-05-14 14:46:47 -04:00
Kenneth Reitz 0c00a17372 Merge branch 'release/0.3.4' v0.3.4 2011-05-14 14:31:24 -04:00
Kenneth Reitz fa1db95814 Version bump: v0.3.4 2011-05-14 14:30:36 -04:00
Kenneth Reitz d77c0ec138 history update 2011-05-14 14:29:41 -04:00
Kenneth Reitz 8ba12ff4f3 cleaner patch names 2011-05-14 14:24:12 -04:00
Kenneth Reitz 14ef462263 package refactor 2011-05-14 14:21:42 -04:00
Kenneth Reitz 1421ffa32a HTTP Basic recursion. Fixes #31 2011-05-14 14:02:36 -04:00
Kenneth Reitz 62931b60f8 history for v0.3.4 2011-05-14 13:11:08 -04:00
Kenneth Reitz b1e28c7fd8 Added Megan Emurayama to authors 2011-05-14 13:04:49 -04:00
Kenneth Reitz 9b0bb871d2 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)
2011-05-12 13:36:45 -04:00
megane murayama 1971bdbe67 fix for post non-dict data 2011-05-12 12:50:09 -04:00
Kenneth Reitz 912f48eece slight refactor 2011-05-12 10:12:04 -04:00
Kenneth Reitz 86fb0cb235 Merge https://github.com/jgorset/requests into develop 2011-05-12 10:09:00 -04:00
Johannes Gorset 23ee58d6ec 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. 2011-05-12 10:27:41 +02:00
Kenneth Reitz 9e0dcae0aa Merge branch 'release/0.3.3' into develop 2011-05-12 04:02:18 -04:00
Kenneth Reitz 7215452da5 Merge branch 'release/0.3.3' v0.3.3 2011-05-12 04:02:16 -04:00
Kenneth Reitz 01b22a7e12 version bump 2011-05-12 04:02:06 -04:00
Kenneth Reitz d28804cc48 update history 2011-05-12 03:57:17 -04:00
Kenneth Reitz a046a04aa2 Merge branch 'feature/timeout' into develop 2011-05-12 03:56:13 -04:00
Kenneth Reitz 59dd3ed459 unicode urls 2011-05-12 03:20:27 -04:00
Kenneth Reitz b6f6048cff Encode incoming data.
Closes #27.
2011-05-12 03:14:09 -04:00
Kenneth Reitz 8a4a05aac0 test for unicode url issues 2011-05-12 03:12:30 -04:00
Kenneth Reitz 64d6c3074f sphinx extension fix 2011-05-12 00:29:31 -04:00
Kenneth Reitz 45ca6d8a78 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
2011-04-21 17:24:43 -04:00
Johannes 77f4b8a75e Implement settings context manager 2011-04-21 18:38:33 +02:00
Kenneth Reitz 122c4f0514 updated history w/ latest changes 2011-04-21 10:37:22 -04:00
Kenneth Reitz 83494152fe Merge branch 'timeout' of https://github.com/jgorset/requests into develop 2011-04-21 10:28:26 -04:00
Kenneth Reitz f6f636f74c Merge pull request #24 from jgorset/requests
---

I made some insignificant corrections to the README.
2011-04-21 10:16:54 -04:00
Johannes 39e9424f01 Update AUTHORS 2011-04-21 14:55:50 +02:00
Johannes d93731213a Implement optional timeout for request functions 2011-04-21 14:54:30 +02:00
Johannes f31dc8a9ef Substitute 'request' for 'requests' 2011-04-21 14:17:02 +02:00
Johannes 4687951a04 Substitute <request object> for the actual return value of the request functions 2011-04-21 14:01:43 +02:00
Kenneth Reitz 576cba81d9 Merge branch 'master' into develop 2011-04-15 18:00:37 -04:00
Kenneth Reitz d3a46c822f preliminary multidicts 2011-04-15 18:00:10 -04:00
Kenneth Reitz ea86602765 Merge branch 'release/0.3.2' into develop 2011-04-15 17:29:38 -04:00
Kenneth Reitz fec0d1a9a0 history changes v0.3.2 2011-04-15 17:29:26 -04:00