Commit Graph

99 Commits

Author SHA1 Message Date
travis 055f7c1eb6 Some Doc and doctoring fixes by the Speling Poleece. 2011-10-19 10:00:13 -05:00
Kenneth Reitz 573ab095e4 fo => raw 2011-10-13 22:11:50 -04:00
Kenneth Reitz aa31b6b4dd Merge fixes 2011-10-13 22:02:50 -04:00
Kenneth Reitz 46f0146adf Merge branch 'feature-content-streaming' of https://github.com/mitsuhiko/requests into feature/content-stream
Conflicts:
	AUTHORS
	HISTORY.rst
	docs/api.rst
	docs/community/faq.rst
	docs/user/intro.rst
	requests/api.py
	requests/models.py
2011-10-13 21:54:42 -04:00
Kenneth Reitz b14fa0764b gevent installation documentation 2011-10-13 21:50:04 -04:00
Kenneth Reitz 849934ccd6 Merge branch 'develop' into feature/async 2011-10-13 20:50:22 -04:00
Kenneth Reitz 597f0ae5fd Catch raw socket errors 2011-10-13 20:47:58 -04:00
Kenneth Reitz 892fcd6cc0 store hooks in Request. 2011-10-13 20:19:59 -04:00
Daniel Miller aa04cc9b42 Make get and head requests respect allow_redirects=False. 2011-10-05 14:36:12 -04:00
Armin Ronacher 41876fd8c6 Implemented content streaming for responses. 2011-09-03 17:59:30 +02:00
verm666 6f84ce72f2 Fixed logic for auto redirect in GET and HEAD methods. 2011-09-02 15:44:18 -04:00
Kenneth Reitz ce3b85a62e unsuccessful 2011-08-23 23:01:35 -04:00
Kenneth Reitz 317c5b693a _content 2011-08-21 07:12:54 -04:00
Kenneth Reitz c8110222a5 no need to set content
avoids 2.5 workaround
2011-08-21 07:01:29 -04:00
Den Shabalin 6a96652396 Refactor response.content into a property. This makes content attribute discoverable through dir(response) and also guards from errors like forgetting to raise AttributeError in __getattr__. Also you don't have to create fake self.content to fool Sphinx any more. 2011-08-21 11:57:03 +03:00
Kenneth Reitz 28ee9788a0 Request 2011-08-20 22:51:29 -04:00
Kenneth Reitz 596aceb185 big docs update 2011-08-20 22:47:03 -04:00
Kenneth Reitz 1f3e53b32e yay 2011-08-20 20:05:38 -04:00
Kenneth Reitz 13db806861 docstringin' it up 2011-08-20 20:04:11 -04:00
Kenneth Reitz d0fdf0eb38 no longer required 2011-08-20 19:59:41 -04:00
Kenneth Reitz c5d787d6fd cleanups 2011-08-20 19:59:21 -04:00
Kenneth Reitz 7f35ec7665 r.fo bugfix 2011-08-20 19:52:18 -04:00
Kenneth Reitz 86cc274cf0 remote read/close methods from response 2011-08-20 19:49:23 -04:00
Kenneth Reitz c19b2c5172 settings.decode_unicode 2011-08-20 19:47:43 -04:00
Kenneth Reitz 4906686186 utils.decode_gzip 2011-08-20 19:46:50 -04:00
Kenneth Reitz f038ec3b6e may have multiple encoding values 2011-08-20 19:44:24 -04:00
Kenneth Reitz a609f726e6 settings.allow_unicode 2011-08-20 19:43:36 -04:00
Kenneth Reitz 882ea76aa9 cleanups, response.fo 2011-08-20 19:26:56 -04:00
Alejandro Giacometti 5f16a8a6b1 Added readline method to response object. 2011-08-20 23:05:39 +02:00
Kenneth Reitz c75eaec852 integrate codes into models.py 2011-08-19 20:12:33 -04:00
Kenneth Reitz 9d143ed653 Merge branch 'develop' of https://github.com/jerem/requests into feature/jerem 2011-08-19 19:58:24 -04:00
Den Shabalin 2f55393593 Fixes an issue #128: `Response not working with lxml''. This error happend due to lxml's attempt to do .geturl() call on the response object. __getattr__ didn't raise AttributeError so response.geturl'' returned None and response.geturl()'' resulted into `TypeError: 'NoneType' object is not callable'' seen in the issue. 2011-08-19 19:18:26 +03:00
Kenneth Reitz 96e7a60b8d Allow any method, if so inclined
#124
2011-08-17 20:15:28 -04:00
Jérémy Bethmont c22b71fc5b Handle redirection without scheme. 2011-08-17 16:04:53 +02:00
Jérémy Bethmont a17110b32a Merge remote-tracking branch 'upstream/develop' into develop 2011-08-17 15:32:11 +02:00
Jérémy Bethmont 571d808d25 Fixed bad merge. 2011-08-17 15:31:24 +02:00
Jérémy Bethmont fe109b27be Merge remote-tracking branch 'upstream/develop' into develop
Conflicts:
	requests/models.py
2011-08-17 10:07:43 +02:00
Kenneth Reitz e0ae2b4155 fixes 2011-08-17 04:03:54 -04:00
Kenneth Reitz 7e255177dc get cookies from response
#116
2011-08-17 01:23:49 -04:00
Kenneth Reitz 281ab5a8f9 move hooks into api layer only 2011-08-17 00:40:28 -04:00
Kenneth Reitz 7836536459 post_request hook 2011-08-17 00:33:28 -04:00
Kenneth Reitz 3e8a14e133 pre_request hook 2011-08-17 00:28:03 -04:00
Kenneth Reitz 783e540d6d sigh 2011-08-17 00:09:47 -04:00
Kenneth Reitz 24da41005c hmmm 2011-08-17 00:09:38 -04:00
Kenneth Reitz 17d3e1d498 whitespace 2011-08-17 00:08:39 -04:00
Kenneth Reitz 8d2ab68a97 space 2011-08-17 00:08:06 -04:00
Kenneth Reitz 7322aa5b64 newlines 2011-08-17 00:02:18 -04:00
Kenneth Reitz 6b11cf21f3 todo 2011-08-17 00:00:47 -04:00
Kenneth Reitz 4625445d2a Merge branch 'develop' of https://github.com/moliware/requests into develop 2011-08-15 21:50:00 -04:00
JensDiemer 88f79b74ce use settings.timeout_fallback bool for socket.setdefaulttimeout() fallback 2011-08-15 17:03:37 +02:00