Commit Graph

1100 Commits

Author SHA1 Message Date
Kenneth Reitz b1bcaecc66 MaxRedirects 2012-12-17 03:12:50 -05:00
Kenneth Reitz 94e82e9cc2 murder the defaults 2012-12-17 03:09:07 -05:00
Kenneth Reitz cc4b0b110f further remove config 2012-12-17 03:08:25 -05:00
Kenneth Reitz 2b5aed78d0 actually honor details 2012-12-17 02:52:39 -05:00
Kenneth Reitz 7fc9378895 iter_json
Closed #1015
2012-12-17 02:42:34 -05:00
Kenneth Reitz d5572ac13f history is a tuple, not list 2012-12-17 02:32:19 -05:00
Kenneth Reitz 0d183c41a9 epic redirect generator is epic 2012-12-17 02:27:07 -05:00
Kenneth Reitz 0bee888f73 redirects work! 2012-12-17 02:21:22 -05:00
Kenneth Reitz 4a01272fb3 cleanup 2012-12-17 01:25:55 -05:00
Kenneth Reitz 42a206e5d3 better docstrings 2012-12-17 00:27:37 -05:00
Kenneth Reitz d15365bf4f remove useless attributes 2012-12-17 00:25:45 -05:00
Kenneth Reitz 898079f7e2 license 2012-12-17 00:18:04 -05:00
Kenneth Reitz 9ab3234f0e Merge remote-tracking branch 'origin/master' 2012-12-17 00:10:35 -05:00
Kenneth Reitz bf05b7aeb5 v1.0.0 2012-12-17 00:10:32 -05:00
Kenneth Reitz 7ec0170a00 keep json None fo row 2012-12-16 22:06:03 -05:00
Kenneth Reitz 8b141b326a json errors 2012-12-16 22:03:55 -05:00
Bartek Sarul 73ca21ed8c Fixed a bug where user couldn't add custom headers. 2012-12-16 15:59:28 +01:00
Natan L ed360dcaf5 Fixed relative import.
For Python 3 support.
2012-12-15 19:53:56 -08:00
Kenneth Reitz 92d57036f3 WHOOOOOOOOOOOOOOOO 2012-12-15 05:50:01 -05:00
Kenneth Reitz c6183d273c fewer comments 2012-12-15 05:19:20 -05:00
Kenneth Reitz 3aefb8edc1 backup 2012-12-15 05:18:23 -05:00
Kenneth Reitz 5ce4b69c9f working!!! 2012-12-15 05:17:37 -05:00
Kenneth Reitz 88d4143018 base adapter 2012-12-15 04:33:48 -05:00
Kenneth Reitz ab27027aa8 cookies 2012-12-15 04:33:44 -05:00
Kenneth Reitz 2161d8f78d encode files 2012-12-15 03:34:54 -05:00
Kenneth Reitz 31d10c0b2b really coming together 2012-12-15 03:31:13 -05:00
Kenneth Reitz 366e8e8498 basics working 2012-12-15 03:04:42 -05:00
Kenneth Reitz 19e1f2037c session.send() 2012-12-15 00:45:43 -05:00
Kenneth Reitz edfd0990b5 prepare 2012-12-15 00:45:12 -05:00
Kenneth Reitz 4a9f3572a3 logging handlers
Closes #971
2012-12-14 23:51:53 -05:00
Kenneth Reitz 2acce4221e always get cookies 2012-12-14 23:39:10 -05:00
Kenneth Reitz 342facb571 Merge pull request #1001 from matthewlmcclure/issues/1000
Import oauthlib without the obsolete wrapper.
2012-12-14 20:07:18 -08:00
Pascal Hartig 17aee31940 Removed testing artifacts 2012-12-14 23:08:54 +01:00
Matt McClure f69934fb24 Import oauthlib without the obsolete wrapper.
Fixes #1000.
2012-12-12 10:45:00 -05:00
Jamshid Afshar 500dc78867 Issue #996 Location should not be followed unless 30X response. 2012-12-11 18:14:13 -06:00
Lyndsy Simon 710f09f806 Updates from ISC to Apache2 2012-12-05 16:19:14 -06:00
Cory Benfield 93b2be48f0 Prefetch must be false to use response.raw.
Resolves issue #979.
2012-12-04 18:10:33 +00:00
Kenneth Reitz ce595d4da7 Merge pull request #983 from jszakmeister/allow-strict
Add the ability to turn off HTTP 0.9 support.
2012-12-02 08:43:31 -08:00
John Szakmeister ed642cfb6d Add the ability to turn off HTTP 0.9 support.
While debugging an issue I discovered requests was coming back with 200
response, when it really shouldn't have.  It turns out this happened for
two reasons: the jetty server running the app was rather lame and
didn't fail the request as a Bad Request, and httplib was happy to let
malformed data through and call it success.

It turns out httplib's strict flag controls this behavior of whether or
not to validate the status line.  The underlying urllib3 supports the
concept as well.  There was a bug there to that is now fixed upstream.

The last step is exposing this through requests.  This introduces a
supports_http0.9 flag to help control this behavior.  It defaults to
to True to preserve the current behavior.   Setting it to False will
allow the underlying HTTPConnection to validate the status line.
2012-12-02 11:25:18 -05:00
Kenneth Reitz 3b5d580409 Merge remote-tracking branch 'origin/master' 2012-12-02 10:09:05 +01:00
Kenneth Reitz ad311497fa update charade 2012-12-02 10:08:57 +01:00
László Vaskó 5eb78876e1 Added support for persistent connections (keep-alive) in proxy mode 2012-12-02 01:28:24 +01:00
Kenneth Reitz 2eb63be19a chardet fixes! 2012-12-01 16:55:09 +01:00
Kenneth Reitz a5cb6355ed Merge branch 'master' of github.com:kennethreitz/requests
Conflicts:
	requests/compat.py
	setup.py
2012-11-29 08:35:35 -08:00
Kenneth Reitz 1960dabafd out with chardet, in with charade 2012-11-29 08:29:02 -08:00
Keiji Matsuzaki b69854e96e Modified: Change the import statement. 2012-11-29 01:29:13 +09:00
Kenneth Reitz ccd14ddc81 fixes for python2 2012-11-27 13:08:16 -08:00
Kenneth Reitz 0af19a05ce fix chardet import 2012-11-27 12:52:17 -08:00
Kenneth Reitz f553857beb remove safe mode 2012-11-27 12:42:11 -08:00
Kenneth Reitz 1607a6a3e2 remove danger mode 2012-11-27 12:41:28 -08:00