Commit Graph

115 Commits

Author SHA1 Message Date
Kenneth Reitz a699ddd14a connection pooling works :D 2011-09-25 21:41:03 -04:00
Kenneth Reitz ae4e85f11c POOL PARTY!!!!!!!!!!!!!!! 2011-09-25 21:23:04 -04:00
Kenneth Reitz 802bcc9ba3 configuration rework 2011-09-25 20:57:29 -04:00
Kenneth Reitz 351a711ce9 cleanup 2011-09-25 20:36:39 -04:00
Kenneth Reitz dc7b4e7d32 Don't add params to redirect / new configuration 2011-09-25 20:14:32 -04:00
Kenneth Reitz 9488af5a42 cleanups 2011-09-25 19:41:48 -04:00
Kenneth Reitz bd2b0c45ba simplify 2011-09-25 19:39:21 -04:00
Kenneth Reitz 8565053c93 works for block and non-block connections 2011-09-25 19:01:40 -04:00
Kenneth Reitz 5287b8cd9f fix 2011-09-25 18:57:17 -04:00
Kenneth Reitz 0b22bc9b42 cookie jar => cookies 2011-09-25 18:02:22 -04:00
Kenneth Reitz 182f92ab26 hrmm 2011-09-25 18:00:37 -04:00
Kenneth Reitz df66fa7975 merge bugs 2011-09-25 16:02:22 -04:00
Kenneth Reitz d2894b3c58 Merge branch 'develop' into urllib3
Conflicts:
	requests/api.py
	requests/exceptions.py
	requests/models.py
2011-09-25 16:00:44 -04:00
Michael Van Veen dcebab4c35 PEP8fied all the things
I ran the pep8 checker (version 0.6.1) on the code base and tried to
clean up as many pep8 errors as I could.  Everything except line-width
errors are gone (I was worried about messing up the documentor since I
haven't fiddled with it).
2011-09-22 03:45:41 -07:00
Kenneth Reitz 04bcab8057 fails 2011-09-18 03:20:11 -04:00
Kenneth Reitz 332f55e552 serious commenting 2011-09-18 01:59:28 -04:00
Kenneth Reitz 7f3f641fb8 super comments! 2011-09-18 01:48:23 -04:00
Kenneth Reitz 18270e1059 cleanups 2011-09-18 01:43:04 -04:00
Kenneth Reitz 645933a5da Gotta catch 'em all! 2011-09-18 01:32:54 -04:00
Kenneth Reitz a3cc97128b Response.fo => Reponse.raw
raise_for_status() fixes
2011-09-17 22:46:17 -04:00
Kenneth Reitz aa5e477236 basic get request works 2011-09-17 22:02:06 -04:00
Kenneth Reitz 3127a34298 remove invalidmethod 2011-09-17 20:41:10 -04:00
Jérémy Bethmont 2a9ae4b367 Fixed #161 (quoting issue). 2011-09-15 11:57:10 +02:00
Kenneth Reitz a8e77688f0 Merge pull request #150 2011-09-14 08:39:52 -04:00
Kenneth Reitz 1a64a29c84 Merge branch 'fix_redirect' of https://github.com/jerem/requests into develop 2011-09-05 16:22:39 -04:00
verm666 6f84ce72f2 Fixed logic for auto redirect in GET and HEAD methods. 2011-09-02 15:44:18 -04:00
Jérémy Bethmont 824d54f131 Only the path should be encoded (not the query, otherwise it makes a wrong redirection). 2011-09-02 15:06:58 +02: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