Commit Graph

875 Commits

Author SHA1 Message Date
Kenneth Reitz 065caa30f4 Merge pull request #629 from saschpe/develop
Add openSUSE certificate support
2012-06-28 17:26:30 -07:00
Kenneth Reitz a1fd038d2c vendored oauthlib 2012-06-28 17:20:26 -07:00
Kenneth Reitz 9576518d69 oauthlib 2012-06-28 16:23:25 -07:00
Kenneth Reitz 6541ceb5f5 Merge remote-tracking branch 'origin/develop' into develop 2012-06-28 16:00:40 -07:00
Kenneth Reitz a17fdf6224 chardet2 2012-06-28 16:00:00 -07:00
Kenneth Reitz abf33ba11c chardet2 2012-06-28 15:58:12 -07:00
Kenneth Reitz c3ad7af06c include certifi 2012-06-28 15:58:00 -07:00
Kenneth Reitz 1253c78011 embed chardet 2012-06-28 12:53:39 -07:00
Craig de Stigter 74a4d06d58 fix a bug where client certificates never get set unless verify=True (which verifies server certs, so should be unrelated) 2012-06-26 12:42:14 +12:00
Kenneth Reitz 8f0ac668da update urllib3 2012-06-25 12:35:39 -04:00
Kenneth Reitz 64da351ed9 Merge pull request #684 from gulopine/develop
Sign querystring parameters in OAuth 1.0
2012-06-20 16:52:38 -07:00
Marty Alchin 4e568c1899 Sign querystring parameters in OAuth 1.0
Existing usage doesn't pass GET querystring parameters along to oauthlib,
so it wasn't signing those properly, which causes problems with APIs that
rely heavily on GET parameters. By passing in r.full_url instead of r.url,
oauthlib can parse out the correct parameters and sign them properly.
2012-06-18 21:02:51 -07:00
Kenneth Reitz c7514faf4a add response.reason
#588
2012-06-15 14:37:33 -04:00
Kenneth Reitz f5d1d0d27a Merge remote-tracking branch 'origin/develop' into develop 2012-06-15 14:31:24 -04:00
Kenneth Reitz d3acb783b9 urllib3 update
fixes #664
2012-06-15 14:31:19 -04:00
Sascha Peilicke 66ef8886c6 Add openSUSE certificate support 2012-06-15 14:16:16 +02:00
Kenneth Reitz 08ac9897bb Merge pull request #675 from gulopine/develop
Make sure OAuth doesn't fall off
2012-06-14 10:18:23 -07:00
Marty Alchin 9a30e02962 Make sure OAuth doesn't fall off, which happens in particular when encountering redirects 2012-06-13 20:54:54 -07:00
ig0774 98b8316c0c Send the original response url to urlparse rather than the Response object. urlparse cannot handle Response objects. 2012-06-08 09:35:54 -03:00
Kenneth Reitz 32941fdd20 Merge remote-tracking branch 'origin/develop' into develop 2012-06-07 22:09:16 -04:00
Kenneth Reitz 7c2306baec v0.13.1 2012-06-07 22:09:01 -04:00
Kenneth Reitz 78eecd7d7e Merge pull request #659 from Bluehorn/develop
Allow passing a file or file-like object as data.
2012-06-07 19:06:49 -07:00
Kenneth Reitz fadcf799de fix unicode literal for python 3 2012-06-07 21:58:52 -04:00
Kenneth Reitz 843672f4fe make empty body text responses work
#660
2012-06-07 21:55:07 -04:00
Torsten Landschoff f0e327f979 Allow passing a file or file-like object as data.
The underlying httplib already allows passing an open file object as body
to its HTTPConnection.request method. I think requests should allow that
as well.
2012-06-07 10:13:40 +02:00
Michael Komitee 662c3edacc Allowing hooks to return responses that indicate errors
Since response objects for failures (4xx/5xx responses) evaluate to False
in a boolean context, any hook which returns such a failure response will
evaluate to False.

The way hooks were setup, any failure response resulting from a hook would
be ignored, and the initial response before it got processed by the hook
would be substituted in its place. This commit changes that logic to test
for None so that hooks that return failures can do so.
2012-06-01 16:05:22 -04:00
Kenneth Reitz 77a57c0e7e v0.13.0 2012-05-29 20:53:51 -04:00
Kenneth Reitz cb15310d6a by @mwielgoszewski 2012-05-29 19:54:40 -04:00
Kenneth Reitz 1c0abbd74b cleanup #633 2012-05-29 19:53:22 -04:00
Kenneth Reitz 7813bd8ac0 Merge pull request #633 from tzuryby/develop
poor man's patch for issue #630
2012-05-29 16:51:48 -07:00
Kenneth Reitz f9dd485582 Merge pull request #640 from JuhaS/patch-1
Small correction on a comment.
2012-05-29 16:45:54 -07:00
Kenneth Reitz d0f309b947 Merge pull request #638 from mher/develop
no_proxy support
2012-05-29 16:44:56 -07:00
JuhaS ba4cc326c2 Small correction on a comment. 2012-05-28 16:28:31 +03:00
Mher Movsisyan cb8f9756e3 Fixes python3 compatibility issue 2012-05-28 14:11:59 +05:00
Mher Movsisyan b8561cda5e no_proxy support 2012-05-27 22:21:26 +05:00
Tzury Bar Yochay 7125fe5554 this try catch is a poor man's patch for issue #630 see https://github.com/kennethreitz/requests/issues/630 2012-05-24 06:17:21 +03:00
Arup Malakar b28673368b Issue #505: Changed the store_cookie configuration to be part of the config dict, instead of being a new argument 2012-05-23 14:12:18 -07:00
Josh Imhoff 0eb0b89431 Removed print statements left over from debugging. 2012-05-21 20:27:47 -04:00
Josh Imhoff 96cd8e9ca0 Wrote tests for new CookieJar functionality and made them pass. 2012-05-21 20:14:12 -04:00
Josh Imhoff 9f26d0ced3 In cookies.py, CookieConflictError is now thrown if there is more than one cookie with same name. 2012-05-21 18:21:12 -04:00
Josh Imhoff b7d0925d6b Docstrings and bug fixes in cookies.py 2012-05-21 17:59:38 -04:00
Josh Imhoff 686db5d452 Defined keys(), values(), and items() in order to support dict-like client interface. Now, we throw exceptions if __getitem__() or __setitem__() is used when multiple domains are in jar. 2012-05-18 00:48:59 -04:00
Kenneth Reitz 2d9746621a Merge pull request #617 from mwielgoszewski/develop
Expose case-insensitive key access when deleting a key from CaseInsensitveDict
2012-05-16 17:34:02 -07:00
Kenneth Reitz 4cf31b0b86 authors 2012-05-16 17:09:43 -07:00
Arup Malakar c501784541 Issue #505: Allow disabling of cookie persistence/sending 2012-05-16 15:07:15 -07:00
Marcin Wielgoszewski 4b7c5dab0e Expose case-insensitive key access when deleting a key from CaseInsensitiveDict 2012-05-16 13:58:51 -04:00
Shivaram Lingamneni f25827c5b6 replace utils.randombytes with os.urandom 2012-05-15 15:42:03 -07:00
Kenneth Reitz 355003b400 Merge pull request #614 from ib-lundgren/multipart_fix
Better content-type detection and unicode fix
2012-05-15 08:39:20 -07:00
Ib Lundgren 6a9d59ea97 Unicode fix for py3 2012-05-15 17:37:15 +02:00
Ib Lundgren c24665b593 Better content-type detection and unicode fix 2012-05-15 17:20:01 +02:00