Commit Graph

254 Commits

Author SHA1 Message Date
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
Kenneth Reitz 642c667566 Merge branch 'release/0.3.2' 2011-04-15 17:27:17 -04:00
Kenneth Reitz b8b87d416e install simplejson if python < 2.6 2011-04-15 17:27:02 -04:00
Kenneth Reitz 6e14d4704d version bump 2011-04-15 17:26:51 -04:00
Kenneth Reitz f494cd9c72 add autoauth tuple http basic test 2011-04-15 17:24:03 -04:00
Kenneth Reitz 2814664e91 Fixes #20. 2011-04-15 17:21:38 -04:00
Kenneth Reitz 1359094cc8 test for gzip decompress 2011-04-14 19:46:35 -04:00
Kenneth Reitz 7a62b10ff2 Automatically decompress gzipped responses if content-type is set. fixes #19 2011-04-14 19:44:29 -04:00
Kenneth Reitz 23d5761bd4 accept any extra args to r.read() 2011-04-02 18:22:05 -04:00
Kenneth Reitz cc16073c36 Merge branch 'develop' 2011-04-01 14:55:24 -04:00
Kenneth Reitz ed8ff63048 Version bump to 0.3.1 v0.3.1 2011-04-01 14:53:53 -04:00
Kenneth Reitz 267a852ba6 Update history 2011-04-01 14:52:33 -04:00
Kenneth Reitz f2b04f94ca Response.read() [file like object] 2011-03-31 04:47:02 -04:00
Kenneth Reitz e350bea167 added Request.read 2011-03-31 04:46:19 -04:00
robmadole 2401f14975 Fixing User-agent header problem introduced with Python 2.7.1 2011-03-30 00:07:24 -05:00
Kenneth Reitz be228043a1 whitespace fix 2011-03-21 20:45:37 -04:00