Commit Graph

2363 Commits

Author SHA1 Message Date
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
Kenneth Reitz 418a209330 Merge pull request #1012 from bodziec/master
Fixed small bug where user couldn't add custom headers
2012-12-16 12:14:23 -08:00
Bartek Sarul 73ca21ed8c Fixed a bug where user couldn't add custom headers. 2012-12-16 15:59:28 +01:00
Kenneth Reitz fee7a7a80d Merge pull request #1011 from kuyan/master
Fixed relative import
2012-12-15 20:45:23 -08:00
Natan L ed360dcaf5 Fixed relative import.
For Python 3 support.
2012-12-15 19:53:56 -08:00
Kenneth Reitz 7ef6b6b682 Merge pull request #1007 from passy/patch-1
Updated Travis CI URL in README
2012-12-15 13:14:41 -08:00
Pascal Hartig b45a1081d2 Updated travis-ci URL in README
The old URL appears to be broken, redirecting to https://travis-ci.org//kennethreitz/requests

Also, according to [their wiki](http://about.travis-ci.org/docs/user/status-images/) the *secure* isn't required anymore.
2012-12-15 13:12:35 +01:00
Kenneth Reitz 12aa401885 Merge remote-tracking branch 'origin/master' 2012-12-15 05:50:05 -05:00
Kenneth Reitz 92d57036f3 WHOOOOOOOOOOOOOOOO 2012-12-15 05:50:01 -05:00
Kenneth Reitz 58c10edb07 Merge pull request #1006 from passy/test-py3k-fix
Use range in favor of xrange for py3k test compatibility
2012-12-15 02:22:25 -08: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 ec5844a3bc test 2012-12-15 00:44:42 -05:00
Kenneth Reitz 4d07cad175 history 2012-12-15 00:12:38 -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 79992579c9 remove danger_mode tests 2012-12-14 23:27:38 -05:00
Kenneth Reitz 67c7e496f5 remove safe_mode tests 2012-12-14 23:26:48 -05:00
Kenneth Reitz 966672dbc1 ignore test files 2012-12-14 23:26:41 -05:00
Kenneth Reitz fa838c7a85 cleanup makefile 2012-12-14 23:11:49 -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
Kenneth Reitz ddf2dde663 Merge pull request #1002 from passy/remove-artifacts
Remove testing artifacts
2012-12-14 20:06:56 -08:00
Pascal Hartig a98ec717f2 Use range in favor of xrange for py3k compatibility
request_count is 2 so it really makes no difference performance-wise at all.
2012-12-14 23:29:33 +01:00
Pascal Hartig 17aee31940 Removed testing artifacts 2012-12-14 23:08:54 +01:00
Kenneth Reitz 7e47d5ef30 Merge remote-tracking branch 'origin/master' 2012-12-12 16:53:44 -05:00
Kenneth Reitz 584cfb664d trying out egg 2012-12-12 16:53:40 -05:00
Matt McClure f69934fb24 Import oauthlib without the obsolete wrapper.
Fixes #1000.
2012-12-12 10:45:00 -05:00
Kenneth Reitz d74bd7e1a2 Merge pull request #998 from jamshid/master
Issue #996 Location should not be followed unless 30X response
2012-12-12 00:09:43 -08:00
Jamshid Afshar 500dc78867 Issue #996 Location should not be followed unless 30X response. 2012-12-11 18:14:13 -06:00
Kenneth Reitz a7344a034a Merge pull request #991 from lyndsysimon/master
Changes license from ISC to Apache2
2012-12-06 10:21:15 -08:00
Lyndsy Simon 710f09f806 Updates from ISC to Apache2 2012-12-05 16:19:14 -06:00
Kenneth Reitz 25b9b2330e Merge pull request #987 from Lukasa/master
Update docs to reflect correct use of raw.
2012-12-04 17:34:20 -08: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 f2820ee8c4 Merge pull request #985 from ming13/readme-syntax-highlighting
Use console syntax highlighting in the readme file
2012-12-03 09:23:33 -08:00
Artur Dryomov 1a08cea007 Use console syntax highlighting in the readme file. 2012-12-03 20:20:47 +03: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