services/python-requests.git
12 years agomade the master README.rst TravisCI PNG clickable to TravisCI status page
Weston Platter [Sat, 30 Jun 2012 22:35:48 +0000 (18:35 -0400)]
made the master README.rst TravisCI PNG clickable to TravisCI status page

12 years agomade the TravisCI PNG clickable to TravisCI status page
Weston Platter [Sat, 30 Jun 2012 22:22:22 +0000 (18:22 -0400)]
made the TravisCI PNG clickable to TravisCI status page

12 years agosyntax error v0.13.2
Kenneth Reitz [Fri, 29 Jun 2012 00:35:07 +0000 (17:35 -0700)]
syntax error

12 years agoversion-dependent package includes
Kenneth Reitz [Fri, 29 Jun 2012 00:33:57 +0000 (17:33 -0700)]
version-dependent package includes

12 years agoMerge remote-tracking branch 'origin/develop' into develop
Kenneth Reitz [Fri, 29 Jun 2012 00:29:30 +0000 (17:29 -0700)]
Merge remote-tracking branch 'origin/develop' into develop

12 years agov0.13.2
Kenneth Reitz [Fri, 29 Jun 2012 00:29:22 +0000 (17:29 -0700)]
v0.13.2

12 years agoMerge pull request #629 from saschpe/develop
Kenneth Reitz [Fri, 29 Jun 2012 00:26:30 +0000 (17:26 -0700)]
Merge pull request #629 from saschpe/develop

Add openSUSE certificate support

12 years agovendored oauthlib
Kenneth Reitz [Fri, 29 Jun 2012 00:20:26 +0000 (17:20 -0700)]
vendored oauthlib

12 years agooauthlib license
Kenneth Reitz [Thu, 28 Jun 2012 23:24:06 +0000 (16:24 -0700)]
oauthlib license

12 years agooauthlib
Kenneth Reitz [Thu, 28 Jun 2012 23:23:25 +0000 (16:23 -0700)]
oauthlib

12 years agoMerge remote-tracking branch 'origin/develop' into develop
Kenneth Reitz [Thu, 28 Jun 2012 23:00:40 +0000 (16:00 -0700)]
Merge remote-tracking branch 'origin/develop' into develop

12 years agonew vendored libs
Kenneth Reitz [Thu, 28 Jun 2012 23:00:34 +0000 (16:00 -0700)]
new vendored libs

12 years agochardet2
Kenneth Reitz [Thu, 28 Jun 2012 23:00:00 +0000 (16:00 -0700)]
chardet2

12 years agochardet2
Kenneth Reitz [Thu, 28 Jun 2012 22:58:12 +0000 (15:58 -0700)]
chardet2

12 years agoinclude certifi
Kenneth Reitz [Thu, 28 Jun 2012 22:58:00 +0000 (15:58 -0700)]
include certifi

12 years agoembed chardet
Kenneth Reitz [Thu, 28 Jun 2012 19:53:39 +0000 (12:53 -0700)]
embed chardet

12 years agoMerge pull request #693 from sigmavirus24/develop
Kenneth Reitz [Tue, 26 Jun 2012 00:57:02 +0000 (17:57 -0700)]
Merge pull request #693 from sigmavirus24/develop

Fix Response Status Codes in the docs.

12 years agoMerge pull request #696 from koordinates/develop
Kenneth Reitz [Tue, 26 Jun 2012 00:56:44 +0000 (17:56 -0700)]
Merge pull request #696 from koordinates/develop

client certificates are ignored when verify=False

12 years agofix a bug where client certificates never get set unless verify=True (which verifies...
Craig de Stigter [Tue, 26 Jun 2012 00:42:14 +0000 (12:42 +1200)]
fix a bug where client certificates never get set unless verify=True (which verifies server certs, so should be unrelated)

12 years agoupdate urllib3
Kenneth Reitz [Mon, 25 Jun 2012 16:35:39 +0000 (12:35 -0400)]
update urllib3

12 years agoFix Response Status Codes in the docs.
Ian Cordasco [Thu, 21 Jun 2012 19:06:01 +0000 (15:06 -0400)]
Fix Response Status Codes in the docs.

12 years agoMerge pull request #684 from gulopine/develop
Kenneth Reitz [Wed, 20 Jun 2012 23:52:38 +0000 (16:52 -0700)]
Merge pull request #684 from gulopine/develop

Sign querystring parameters in OAuth 1.0

12 years agoMerge pull request #690 from Lukasa/develop
Kenneth Reitz [Tue, 19 Jun 2012 18:04:04 +0000 (11:04 -0700)]
Merge pull request #690 from Lukasa/develop

Temporary fix for unicode literal breaking test.

12 years agoTemporary fix for unicode literal breaking test.
Cory Benfield [Tue, 19 Jun 2012 17:09:22 +0000 (18:09 +0100)]
Temporary fix for unicode literal breaking test.

12 years agoMerge pull request #686 from Lukasa/develop
Kenneth Reitz [Tue, 19 Jun 2012 13:28:57 +0000 (06:28 -0700)]
Merge pull request #686 from Lukasa/develop

Fix failing setup.py

12 years agoRemove mimetools_choose_boundary from setup.py.
Cory Benfield [Tue, 19 Jun 2012 11:31:40 +0000 (12:31 +0100)]
Remove mimetools_choose_boundary from setup.py.

This package is not present in the source, was removed in commit
d3acb783b95623d0378db02bd9832fb11850204b during an update of urllib3.

12 years agoSign querystring parameters in OAuth 1.0
Marty Alchin [Tue, 19 Jun 2012 04:02:51 +0000 (21:02 -0700)]
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.

12 years agoMerge pull request #683 from jkleint/patch-1
Kenneth Reitz [Mon, 18 Jun 2012 20:33:00 +0000 (13:33 -0700)]
Merge pull request #683 from jkleint/patch-1

Update quickstart docs raise_for_status() exception output.

12 years agoUpdate raise_for_status() exception output to reflect that requests.exceptions.HTTPEr...
jkleint [Mon, 18 Jun 2012 20:26:42 +0000 (17:26 -0300)]
Update raise_for_status() exception output to reflect that requests.exceptions.HTTPError is raised, not urllib2.HTTPError.

12 years agoMerge pull request #680 from mahmoudhossam/develop
Kenneth Reitz [Sat, 16 Jun 2012 07:51:26 +0000 (00:51 -0700)]
Merge pull request #680 from mahmoudhossam/develop

Add rauth.

12 years agoAdd rauth.
Mahmoud Hossam [Sat, 16 Jun 2012 07:36:18 +0000 (10:36 +0300)]
Add rauth.

12 years agomakin' history
Kenneth Reitz [Fri, 15 Jun 2012 18:37:51 +0000 (14:37 -0400)]
makin' history

12 years agoadd response.reason
Kenneth Reitz [Fri, 15 Jun 2012 18:37:33 +0000 (14:37 -0400)]
add response.reason

#588

12 years agoMerge remote-tracking branch 'origin/develop' into develop
Kenneth Reitz [Fri, 15 Jun 2012 18:31:24 +0000 (14:31 -0400)]
Merge remote-tracking branch 'origin/develop' into develop

12 years agourllib3 update
Kenneth Reitz [Fri, 15 Jun 2012 18:31:19 +0000 (14:31 -0400)]
urllib3 update

fixes #664

12 years agoAdd openSUSE certificate support
Sascha Peilicke [Wed, 23 May 2012 12:20:50 +0000 (14:20 +0200)]
Add openSUSE certificate support

12 years agoMerge pull request #675 from gulopine/develop
Kenneth Reitz [Thu, 14 Jun 2012 17:18:23 +0000 (10:18 -0700)]
Merge pull request #675 from gulopine/develop

Make sure OAuth doesn't fall off

12 years agocleanup #676
Kenneth Reitz [Thu, 14 Jun 2012 16:51:28 +0000 (12:51 -0400)]
cleanup #676

12 years agoMerge pull request #676 from apotheos/develop
Kenneth Reitz [Thu, 14 Jun 2012 16:50:40 +0000 (09:50 -0700)]
Merge pull request #676 from apotheos/develop

Additional Documentation for Requests and Responses

12 years agoMerge branch 'develop' of github.com:apotheos/requests into develop
Michael Holler [Thu, 14 Jun 2012 14:15:18 +0000 (09:15 -0500)]
Merge branch 'develop' of github.com:apotheos/requests into develop

12 years agoRemoved last attempt at documenting how to access Request from Response objects,...
Michael Holler [Thu, 14 Jun 2012 14:09:58 +0000 (09:09 -0500)]
Removed last attempt at documenting how to access Request from Response objects, replaced with section entitled 'Request and Response Objects'

12 years agoRemoved last attempt at documenting how to access Request from Response objects,...
Michael Holler [Thu, 14 Jun 2012 14:09:58 +0000 (09:09 -0500)]
Removed last attempt at documenting how to access Request from Response objects, replaced with section entitled 'Request and Response Objects'

12 years agoAdded 'request object attributes' section header
Michael Holler [Thu, 14 Jun 2012 04:18:25 +0000 (23:18 -0500)]
Added 'request object attributes' section header

12 years agoAdded alphabetized list of request attributes and descriptions.
Michael Holler [Thu, 14 Jun 2012 04:16:06 +0000 (23:16 -0500)]
Added alphabetized list of request attributes and descriptions.

12 years agoAdded documentation on how to access and use the Request object.
Michael Holler [Thu, 14 Jun 2012 04:00:12 +0000 (23:00 -0500)]
Added documentation on how to access and use the Request object.

12 years agoMake sure OAuth doesn't fall off, which happens in particular when encountering redirects
Marty Alchin [Thu, 14 Jun 2012 03:54:54 +0000 (20:54 -0700)]
Make sure OAuth doesn't fall off, which happens in particular when encountering redirects

12 years agoMerge pull request #670 from piotr-dobrogost/#669
Kenneth Reitz [Sun, 10 Jun 2012 13:37:07 +0000 (06:37 -0700)]
Merge pull request #670 from piotr-dobrogost/#669

Fixes issue #669

12 years agoFixes issue #669
Piotr Dobrogost [Sun, 10 Jun 2012 13:27:54 +0000 (15:27 +0200)]
Fixes issue #669
NamedTemporaryFile was being automatically deleted on Windows thus
couldn't be opened later for reading

12 years agoMerge pull request #668 from ig0774/patch-1
Kenneth Reitz [Sat, 9 Jun 2012 11:30:19 +0000 (04:30 -0700)]
Merge pull request #668 from ig0774/patch-1

Send the original response url to `urlparse` rather than the `Response` object

12 years agoSend the original response url to `urlparse` rather than the `Response` object. ...
ig0774 [Fri, 8 Jun 2012 12:35:54 +0000 (09:35 -0300)]
Send the original response url to `urlparse` rather than the `Response` object. `urlparse` cannot handle `Response` objects.

12 years agodon't change scrollbars
Kenneth Reitz [Fri, 8 Jun 2012 02:44:38 +0000 (22:44 -0400)]
don't change scrollbars

12 years agofix test for python3 v0.13.1
Kenneth Reitz [Fri, 8 Jun 2012 02:21:06 +0000 (22:21 -0400)]
fix test for python3

12 years agoMerge remote-tracking branch 'origin/develop' into develop
Kenneth Reitz [Fri, 8 Jun 2012 02:09:16 +0000 (22:09 -0400)]
Merge remote-tracking branch 'origin/develop' into develop

12 years agov0.13.1
Kenneth Reitz [Fri, 8 Jun 2012 02:09:01 +0000 (22:09 -0400)]
v0.13.1

12 years ago+= AUTHORS #659
Kenneth Reitz [Fri, 8 Jun 2012 02:07:26 +0000 (22:07 -0400)]
+= AUTHORS #659

12 years agoMerge pull request #659 from Bluehorn/develop
Kenneth Reitz [Fri, 8 Jun 2012 02:06:49 +0000 (19:06 -0700)]
Merge pull request #659 from Bluehorn/develop

Allow passing a file or file-like object as data.

12 years agofix unicode literal for python 3
Kenneth Reitz [Fri, 8 Jun 2012 01:58:52 +0000 (21:58 -0400)]
fix unicode literal for python 3

12 years agoMerge remote-tracking branch 'origin/develop' into develop
Kenneth Reitz [Fri, 8 Jun 2012 01:55:11 +0000 (21:55 -0400)]
Merge remote-tracking branch 'origin/develop' into develop

12 years agomake empty body text responses work
Kenneth Reitz [Fri, 8 Jun 2012 01:55:07 +0000 (21:55 -0400)]
make empty body text responses work

#660

12 years agotest that empty body text responses work
Kenneth Reitz [Fri, 8 Jun 2012 01:54:45 +0000 (21:54 -0400)]
test that empty body text responses work

12 years agoMerge pull request #665 from dalanmiller/patch-2
Kenneth Reitz [Thu, 7 Jun 2012 23:55:06 +0000 (16:55 -0700)]
Merge pull request #665 from dalanmiller/patch-2

If requests.async has been removed, the docs should point people to the right place.

12 years agoIf this comment is true (https://github.com/kennethreitz/requests/issues/239#issuecom...
Daniel Miller [Thu, 7 Jun 2012 23:47:54 +0000 (16:47 -0700)]
If this comment is true (https://github.com/kennethreitz/requests/issues/239#issuecomment-6180706), then it would be good to point people in the right direction. Otherwise disregard this message.

12 years agoAllow passing a file or file-like object as data.
Torsten Landschoff [Thu, 7 Jun 2012 08:13:40 +0000 (10:13 +0200)]
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.

12 years agomore examples
Kenneth Reitz [Thu, 7 Jun 2012 01:09:19 +0000 (03:09 +0200)]
more examples

#657

12 years agoRevert "In fact, the feature is so awesome that it should go into index.rst"
Kenneth Reitz [Thu, 7 Jun 2012 01:02:32 +0000 (03:02 +0200)]
Revert "In fact, the feature is so awesome that it should go into index.rst"

This reverts commit f968fe013659b9b5b89f0316203de5f3139a7217.

12 years agoIn fact, the feature is so awesome that it should go into index.rst
Danilo Bargen [Wed, 6 Jun 2012 15:07:42 +0000 (17:07 +0200)]
In fact, the feature is so awesome that it should go into index.rst

12 years agoAdded r.json documentation (document ALL the awesome features!)
Danilo Bargen [Wed, 6 Jun 2012 14:59:20 +0000 (16:59 +0200)]
Added r.json documentation (document ALL the awesome features!)

12 years agov0.13.1
Kenneth Reitz [Tue, 5 Jun 2012 08:25:08 +0000 (10:25 +0200)]
v0.13.1

12 years agoRevert "Auto-detect CA Cert path instead of requiring users to hack setup.py"
Kenneth Reitz [Mon, 4 Jun 2012 22:51:46 +0000 (00:51 +0200)]
Revert "Auto-detect CA Cert path instead of requiring users to hack setup.py"

This reverts commit 62a23bfbdecf54e13e571237df5a175e53d539cb.

12 years agoMerge pull request #651 from urbanairship/detect-cacerts
Kenneth Reitz [Mon, 4 Jun 2012 22:24:14 +0000 (15:24 -0700)]
Merge pull request #651 from urbanairship/detect-cacerts

Auto-detect CA Cert path instead of requiring users to hack setup.py

12 years agoAuto-detect CA Cert path instead of requiring users to hack setup.py
Michael Schurter [Mon, 4 Jun 2012 20:19:10 +0000 (13:19 -0700)]
Auto-detect CA Cert path instead of requiring users to hack setup.py

Also fixed nearby comments to wrap at 79 characters as per PEP8

12 years agoMerge pull request #646 from mkomitee/hooks
Kenneth Reitz [Mon, 4 Jun 2012 14:44:56 +0000 (07:44 -0700)]
Merge pull request #646 from mkomitee/hooks

Allowing hooks to return responses that indicate errors

12 years agoAllowing hooks to return responses that indicate errors
Michael Komitee [Fri, 1 Jun 2012 19:53:23 +0000 (15:53 -0400)]
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.

12 years agoMerge pull request #643 from gwrtheyrn/docs_proxy_auth
Kenneth Reitz [Wed, 30 May 2012 19:48:33 +0000 (12:48 -0700)]
Merge pull request #643 from gwrtheyrn/docs_proxy_auth

Added information about HTTP proxy authentication to docs

12 years agoAdded information about HTTP proxy authentication to docs
Danilo Bargen [Wed, 30 May 2012 15:34:24 +0000 (17:34 +0200)]
Added information about HTTP proxy authentication to docs

12 years agov0.13.0 v0.13.0
Kenneth Reitz [Wed, 30 May 2012 00:53:51 +0000 (20:53 -0400)]
v0.13.0

12 years agowhitespace
Kenneth Reitz [Wed, 30 May 2012 00:53:13 +0000 (20:53 -0400)]
whitespace

12 years agov0.13.0
Kenneth Reitz [Wed, 30 May 2012 00:52:58 +0000 (20:52 -0400)]
v0.13.0

12 years agoby @mwielgoszewski
Kenneth Reitz [Tue, 29 May 2012 23:54:40 +0000 (19:54 -0400)]
by @mwielgoszewski

12 years agocleanup #633
Kenneth Reitz [Tue, 29 May 2012 23:53:22 +0000 (19:53 -0400)]
cleanup #633

12 years agoMerge pull request #633 from tzuryby/develop
Kenneth Reitz [Tue, 29 May 2012 23:51:48 +0000 (16:51 -0700)]
Merge pull request #633 from tzuryby/develop

poor man's patch for issue #630

12 years agoMerge pull request #619 from Lukasa/develop
Kenneth Reitz [Tue, 29 May 2012 23:49:51 +0000 (16:49 -0700)]
Merge pull request #619 from Lukasa/develop

Rewrite quickstart docs.

12 years agoMerge pull request #640 from JuhaS/patch-1
Kenneth Reitz [Tue, 29 May 2012 23:45:54 +0000 (16:45 -0700)]
Merge pull request #640 from JuhaS/patch-1

Small correction on a comment.

12 years agoMerge pull request #638 from mher/develop
Kenneth Reitz [Tue, 29 May 2012 23:44:56 +0000 (16:44 -0700)]
Merge pull request #638 from mher/develop

no_proxy support

12 years agoMerge pull request #632 from amalakar/develop
Kenneth Reitz [Tue, 29 May 2012 23:41:39 +0000 (16:41 -0700)]
Merge pull request #632 from amalakar/develop

Issue #505: Changed the store_cookie configuration to be part of the conig dict, instead of being a new argument

12 years agoSmall correction on a comment.
JuhaS [Mon, 28 May 2012 13:28:31 +0000 (16:28 +0300)]
Small correction on a comment.

12 years agoFixes python3 compatibility issue
Mher Movsisyan [Mon, 28 May 2012 09:11:59 +0000 (14:11 +0500)]
Fixes python3 compatibility issue

12 years agono_proxy support
Mher Movsisyan [Sun, 27 May 2012 17:21:26 +0000 (22:21 +0500)]
no_proxy support

12 years agothis try catch is a poor man's patch for issue #630 see https://github.com/kennethrei...
Tzury Bar Yochay [Thu, 24 May 2012 03:17:21 +0000 (06:17 +0300)]
this try catch is a poor man's patch for issue #630 see https://github.com/kennethreitz/requests/issues/630

12 years agoChange the None check from self.assertIsNone to python style None Check, as build...
Arup Malakar [Wed, 23 May 2012 21:25:54 +0000 (14:25 -0700)]
Change the None check from self.assertIsNone to python style None Check, as build was failing

12 years agoIssue #505: Changed the store_cookie configuration to be part of the config dict...
Arup Malakar [Wed, 23 May 2012 21:12:18 +0000 (14:12 -0700)]
Issue #505: Changed the store_cookie configuration to be part of the config dict, instead of being a new argument

12 years agoMerge pull request #626 from joshimhoff/develop
Kenneth Reitz [Tue, 22 May 2012 04:45:44 +0000 (21:45 -0700)]
Merge pull request #626 from joshimhoff/develop

Improvements to RequestsCookieJar

12 years agoRemoved print statements left over from debugging.
Josh Imhoff [Tue, 22 May 2012 00:27:47 +0000 (20:27 -0400)]
Removed print statements left over from debugging.

12 years agoWrote tests for new CookieJar functionality and made them pass.
Josh Imhoff [Tue, 22 May 2012 00:14:12 +0000 (20:14 -0400)]
Wrote tests for new CookieJar functionality and made them pass.

12 years agoIn cookies.py, CookieConflictError is now thrown if there is more than one cookie...
Josh Imhoff [Mon, 21 May 2012 22:21:12 +0000 (18:21 -0400)]
In cookies.py, CookieConflictError is now thrown if there is more than one cookie with same name.

12 years agoDocstrings and bug fixes in cookies.py
Josh Imhoff [Mon, 21 May 2012 21:59:38 +0000 (17:59 -0400)]
Docstrings and bug fixes in cookies.py

12 years agoFirst draft of full verbs.
Cory Benfield [Sat, 19 May 2012 20:34:36 +0000 (21:34 +0100)]
First draft of full verbs.

12 years agoDefined keys(), values(), and items() in order to support dict-like client interface...
Josh Imhoff [Fri, 18 May 2012 04:48:59 +0000 (00:48 -0400)]
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.

12 years agoCorrectly reflect redirection behaviour.
Cory Benfield [Thu, 17 May 2012 18:25:35 +0000 (19:25 +0100)]
Correctly reflect redirection behaviour.

The docs incorrectly listed HEAD as a method that follows redirects by
default: it does not. This commit resolves this issue, and thus resolves
issue #504.

12 years agoRewrite quickstart docs.
Cory Benfield [Thu, 17 May 2012 09:16:42 +0000 (10:16 +0100)]
Rewrite quickstart docs.

This should help with issue #503.