Commit Graph

214 Commits

Author SHA1 Message Date
Kenneth Reitz fc04d8a368 cleanups 2011-08-16 22:55:18 -04:00
Kenneth Reitz 519b9cee96 relative imports 2011-08-16 22:55:10 -04:00
Kenneth Reitz efba606e57 doctoring for Session 2011-08-16 22:20:26 -04:00
Kenneth Reitz 5bb18810d4 memory location repr for requests-client 2011-08-16 22:19:49 -04:00
Kenneth Reitz 853383a8d3 docstring fix 2011-08-16 22:16:22 -04:00
Kenneth Reitz f319006813 session => sessions 2011-08-16 22:15:03 -04:00
Kenneth Reitz 2fa021582b Merge branch 'feature/session' of https://github.com/tomhsx/requests into feature/session
Conflicts:
	AUTHORS
2011-08-16 02:34:44 -04:00
alopatin 08a821381a Fixed misc spelling mistakes. 2011-08-15 22:53:22 -03:00
Kenneth Reitz 4625445d2a Merge branch 'develop' of https://github.com/moliware/requests into develop 2011-08-15 21:50:00 -04:00
Tom Hogans ca428504d4 Added request.session functionality 2011-08-15 16:01:26 -04:00
JensDiemer 88f79b74ce use settings.timeout_fallback bool for socket.setdefaulttimeout() fallback 2011-08-15 17:03:37 +02:00
JensDiemer 647cdd3847 Use socket.setdefaulttimeout(timeout) only if timeout argument doesn't exist (Python <2.6) - https://github.com/kennethreitz/requests/issues/112 2011-08-15 16:51:33 +02:00
moliware c510d21e4e headers.update is not the same that add headers one by one with add_header 2011-08-15 11:58:57 +02:00
Kenneth Reitz 975720a30c I'll have to manually add that to sphinx 2011-08-14 15:50:18 -04:00
Kenneth Reitz 1361506ae6 status blocks 2011-08-14 15:44:03 -04:00
Kenneth Reitz 23ff27ea4b Documentation fixes 2011-08-14 11:43:25 -04:00
Kenneth Reitz ce1945c780 status codes fix 2011-08-14 10:43:02 -04:00
Kenneth Reitz 47378164ef \o/ 2011-08-13 14:55:41 -04:00
Kenneth Reitz 9469b4bb69 status_codes lookup dict 2011-08-13 14:50:59 -04:00
Kenneth Reitz 6cead64345 supporting codes class 2011-08-13 14:50:48 -04:00
Kenneth Reitz 773630b010 requests.codes 2011-08-13 14:50:38 -04:00
Kenneth Reitz 2d70647f72 attach request object to responses 2011-08-13 13:17:17 -04:00
Kenneth Reitz 10cc4673f9 remove Response.cached 2011-08-13 13:14:10 -04:00
Kenneth Reitz 629d730da6 all main functions are **kwargs now. People shouldn't be relying on the order. 2011-08-13 13:11:16 -04:00
Kenneth Reitz 5693314a37 response error handling rework 2011-08-13 13:01:44 -04:00
Kenneth Reitz f7cc7b1778 Merge branch 'patch-1' of https://github.com/jeremys/requests into develop 2011-08-13 08:39:16 -04:00
Zbigniew Siciarz e4adef5226 Added proxies to requests.settings 2011-08-09 10:03:09 +02:00
Jeremy Selier 5a7ec361f4 Join with the latest URL not the first one. 2011-08-02 18:51:21 +03:00
Jeremy Selier 291d4742d6 Fixes correct "relative" redirections. Example: http://digg.com/d1qIwX, which redirects to "/news/story/A_Manifesto_How_to_Save_Media", which requests transforms to: http://digg.com//news/story/A_Manifesto_How_to_Save_Media" which results in an endless redirect loop. 2011-08-02 18:05:03 +03:00
Kenneth Reitz 1cdd1d04ce v0.5.1 2011-07-23 22:58:32 -04:00
Kenneth Reitz 3293c0e8f4 Python 2.5 bugfix 2011-07-23 22:49:01 -04:00
Kenneth Reitz c3c90bb09c default headers and content encoding settings
Closes #78
2011-07-23 22:35:46 -04:00
Kenneth Reitz 9b6a190652 Merge branch 'develop' of https://github.com/rabad/requests into develop 2011-07-23 22:11:59 -04:00
Kenneth Reitz 1e1fb1e7a8 Redirect history fix (Closes #91) 2011-07-23 22:11:54 -04:00
Kenneth Reitz 6ba3523a26 Merge branch 'develop' of https://github.com/tgulacsi/requests into develop 2011-07-23 21:45:45 -04:00
Kenneth Reitz 260e32a7c3 default user agent! 2011-07-23 21:39:14 -04:00
Kenneth Reitz 5fff2c757b forced_basic default handler. 2011-07-23 21:37:17 -04:00
Kenneth Reitz 30d699b64f Forced Basic Auth for 404'd resources 2011-07-23 21:36:24 -04:00
Kenneth Reitz 7d91d3fb5c use patched HTTPBasicAuthHandler 2011-07-23 20:10:37 -04:00
Gulácsi Tamás 747f882b0e structures: CaseInsensitiveDict.__delitem__ missing "value" fix 2011-07-23 22:25:07 +02:00
Gulácsi Tamás 04c456b877 structures: little bit more general, lower-key-caching version of CaseInsensitiveDict 2011-07-23 22:16:12 +02:00
Rubén Abad 73b414ab45 We can represent multivalued params with arrays 2011-07-13 11:08:54 +02:00
Jérémy Bethmont 891e52d723 Added the possibility to access headers without fetching the whole body (fixes #86). 2011-06-29 11:10:39 +02:00
Xu Pan d2ff0f40eb add doseq to urlencode in model._encode_params to enable list as dict value 2011-06-26 13:32:19 +08:00
Kenneth Reitz 6f08c81698 note about indns 2011-06-24 18:24:44 -04:00
Jérémy Bethmont 868cd3d1cb Implemented idna (fixes #76). 2011-06-24 12:21:25 +02:00
Kenneth Reitz 39edf7a7fa raise_for_status +URLError 2011-06-23 06:22:46 -04:00
Kenneth Reitz 162b751f6d Timeouts are normal errors now.
--
BREAK ALL TEH TESTS!
2011-06-21 22:40:27 -04:00
Kenneth Reitz 20aed5488b Release the v0.5.0! 2011-06-21 22:26:06 -04:00
Kenneth Reitz b4eac4c993 redirect fix 2011-06-21 22:00:04 -04:00