services/python-requests.git
12 years agoTests written for _encode_files new capability.
Ian Cordasco [Wed, 1 Aug 2012 01:50:44 +0000 (21:50 -0400)]
Tests written for _encode_files new capability.

Work on issue #179

12 years agoNeed to write tests but this looks good so far.
Ian Cordasco [Tue, 31 Jul 2012 19:56:22 +0000 (15:56 -0400)]
Need to write tests but this looks good so far.

12 years agoMerge pull request #751 from Lukasa/develop
Kenneth Reitz [Thu, 2 Aug 2012 20:53:05 +0000 (13:53 -0700)]
Merge pull request #751 from Lukasa/develop

Catch socket.gaierror in safe mode.

12 years agoMerge pull request #753 from berkerpeksag/if-statements
Kenneth Reitz [Thu, 2 Aug 2012 20:52:36 +0000 (13:52 -0700)]
Merge pull request #753 from berkerpeksag/if-statements

Refactoring in |raise_for_status| method.

12 years agoRefactoring in |raise_for_status| method.
Berker Peksag [Thu, 2 Aug 2012 20:45:06 +0000 (23:45 +0300)]
Refactoring in |raise_for_status| method.

- Simplified the if statements.
- Remove duplicate code.

12 years agoMerge pull request #752 from anentropic/patch-1
Kenneth Reitz [Thu, 2 Aug 2012 11:59:38 +0000 (04:59 -0700)]
Merge pull request #752 from anentropic/patch-1

file posting example looked wrong

12 years agoexample looked wrong
anentropic [Thu, 2 Aug 2012 11:56:12 +0000 (13:56 +0200)]
example looked wrong

From what I can tell from the source code (down thru urllib3) the key in the `files` dict is always the 'fieldname', while specifying a custom filename is optional.

So in this example it is confusing to have a fieldname of 'report.xls' (the filename) where all the other examples use a fieldname of 'file'.

12 years agoCatch socket.gaierror in safe mode.
Cory Benfield [Thu, 2 Aug 2012 11:16:41 +0000 (12:16 +0100)]
Catch socket.gaierror in safe mode.

12 years agoMerge pull request #744 from tax/develop
Kenneth Reitz [Tue, 31 Jul 2012 01:13:17 +0000 (18:13 -0700)]
Merge pull request #744 from tax/develop

Set content type before authentication

12 years agodonate
Kenneth Reitz [Sat, 28 Jul 2012 21:07:53 +0000 (17:07 -0400)]
donate

12 years agoMerge remote-tracking branch 'origin/develop' into develop
Kenneth Reitz [Sat, 28 Jul 2012 20:56:49 +0000 (16:56 -0400)]
Merge remote-tracking branch 'origin/develop' into develop

12 years agosetup.py
Kenneth Reitz [Sat, 28 Jul 2012 20:56:14 +0000 (16:56 -0400)]
setup.py

12 years agogittip
Kenneth Reitz [Sat, 28 Jul 2012 20:56:00 +0000 (16:56 -0400)]
gittip

12 years agoSet content type before authentication
Paul [Fri, 27 Jul 2012 11:18:13 +0000 (19:18 +0800)]
Set content type before authentication

AWS S3 authentication adds content type header (when it exist) to
canonical string that is signed. Since it is set after authentication
is done authentication on S3 fails

12 years agoFailing test for Issue #737.
Cory Benfield [Fri, 27 Jul 2012 08:26:04 +0000 (09:26 +0100)]
Failing test for Issue #737.

12 years agov0.13.5 v0.13.5
Kenneth Reitz [Fri, 27 Jul 2012 07:23:33 +0000 (03:23 -0400)]
v0.13.5

12 years agov0.13.4 v0.13.4
Kenneth Reitz [Fri, 27 Jul 2012 06:21:56 +0000 (02:21 -0400)]
v0.13.4

12 years agodisable tricky tests
Kenneth Reitz [Fri, 27 Jul 2012 06:18:31 +0000 (02:18 -0400)]
disable tricky tests

12 years agoSolves #722
Kenneth Reitz [Fri, 27 Jul 2012 05:48:25 +0000 (01:48 -0400)]
Solves #722

12 years agochanges
Kenneth Reitz [Fri, 27 Jul 2012 05:40:09 +0000 (01:40 -0400)]
changes

12 years agoMerge remote-tracking branch 'origin/develop' into develop
Kenneth Reitz [Fri, 27 Jul 2012 05:39:21 +0000 (01:39 -0400)]
Merge remote-tracking branch 'origin/develop' into develop

12 years agoordered dict
Kenneth Reitz [Fri, 27 Jul 2012 05:39:17 +0000 (01:39 -0400)]
ordered dict

12 years agoMerge pull request #647 from mkomitee/kerberos
Kenneth Reitz [Fri, 27 Jul 2012 05:36:41 +0000 (22:36 -0700)]
Merge pull request #647 from mkomitee/kerberos

Implement GSSAPI/Kerberos authentication for requests

12 years agoMerge pull request #729 from vickimo/issue_661
Kenneth Reitz [Fri, 27 Jul 2012 05:33:51 +0000 (22:33 -0700)]
Merge pull request #729 from vickimo/issue_661

Added needed cast for when POSTing data and files (Issue #661)

12 years agourllib update and junks
Kenneth Reitz [Fri, 27 Jul 2012 05:32:01 +0000 (01:32 -0400)]
urllib update and junks

12 years agoMerge pull request #736 from Lukasa/develop
Kenneth Reitz [Fri, 27 Jul 2012 05:29:58 +0000 (22:29 -0700)]
Merge pull request #736 from Lukasa/develop

Make OAuth path hack platform independent.

12 years agoMerge pull request #739 from saevarom/develop
Kenneth Reitz [Fri, 27 Jul 2012 05:29:17 +0000 (22:29 -0700)]
Merge pull request #739 from saevarom/develop

Appengine workaround

12 years agoAppengine workaround
Sævar Öfjörð Magnússon [Wed, 25 Jul 2012 16:06:26 +0000 (16:06 +0000)]
Appengine workaround

12 years agoComment typo fix and move newline.
Cory Benfield [Wed, 25 Jul 2012 12:24:38 +0000 (13:24 +0100)]
Comment typo fix and move newline.

12 years agoMerge pull request #734 from doismellburning/verbose_http_errors
Kenneth Reitz [Tue, 24 Jul 2012 13:46:34 +0000 (06:46 -0700)]
Merge pull request #734 from doismellburning/verbose_http_errors

Include response.reason in raised HTTPErrors

12 years agoMake OAuth path hack platform independent.
Cory Benfield [Sat, 21 Jul 2012 17:11:00 +0000 (18:11 +0100)]
Make OAuth path hack platform independent.

12 years agoInclude reason rather than content in raised HTTPErrors
Kristian Glass [Fri, 20 Jul 2012 18:26:08 +0000 (19:26 +0100)]
Include reason rather than content in raised HTTPErrors

See https://github.com/kennethreitz/requests/pull/733 for details, TL;DR
content is too free-form for this to generally be a good idea.

12 years agoInclude response.content in raised HTTPErrors
Kristian Glass [Fri, 20 Jul 2012 17:50:04 +0000 (18:50 +0100)]
Include response.content in raised HTTPErrors

12 years agoMerge pull request #731 from jorjun/patch-1
Kenneth Reitz [Wed, 18 Jul 2012 14:44:37 +0000 (07:44 -0700)]
Merge pull request #731 from jorjun/patch-1

breaks under python 2.7, without the from __future__ import

12 years agobreaks under python 2.7, without the from __future__ import
jorjun [Wed, 18 Jul 2012 10:58:55 +0000 (12:58 +0200)]
breaks under python 2.7, without the from __future__ import

12 years agoMerge pull request #727 from vickimo/issue_547
Kenneth Reitz [Sat, 14 Jul 2012 22:48:07 +0000 (15:48 -0700)]
Merge pull request #727 from vickimo/issue_547

Fix infinite loop on wrong Digest Authentication (Issue #541 and #547)

12 years agoAdded needed cast for when POSTing data and files (Issue #661)
Victoria Mo [Sat, 14 Jul 2012 22:26:38 +0000 (18:26 -0400)]
Added needed cast for when POSTing data and files (Issue #661)

Co-Authored By: Timnit Gebru <tgebru@gmail.com>
Co-Authored By: Sarah Gonzalez <smar.gonz@gmail.com>
Co-Authored By: Leila Muhtasib <muhtasib@gmail.com>

12 years agoFix infinite loop on wrong Digest Authentication (Issue #547)
Victoria Mo [Sat, 14 Jul 2012 20:09:13 +0000 (16:09 -0400)]
Fix infinite loop on wrong Digest Authentication (Issue #547)

Modified code to use the current fix versus the old fix, which was broken.

Co-Authored By: Timnit Gebru <tgebru@gmail.com>
Co-Authored By: Sarah Gonzalez <smar.gonz@gmail.com>
Co-Authored By: Leila Muhtasib <muhtasib@gmail.com>

12 years agoMerge pull request #725 from muhtasib/Timeout_Fix
Kenneth Reitz [Fri, 13 Jul 2012 20:49:12 +0000 (13:49 -0700)]
Merge pull request #725 from muhtasib/Timeout_Fix

Differentiate between two types of timeout errors from urllib3

12 years agoDifferentiate between two types of timeout errors from urllib3
Leila Muhtasib [Fri, 13 Jul 2012 19:20:05 +0000 (15:20 -0400)]
Differentiate between two types of timeout errors from urllib3

Bubble up error message from urllib3 to indicate to user
whether error was a socket timeout vs a no connections
available in connection pool error.

Co-Authored By: Sarah Gonzalez

12 years agoMerge pull request #721 from karlcow/develop
Kenneth Reitz [Thu, 12 Jul 2012 21:13:36 +0000 (14:13 -0700)]
Merge pull request #721 from karlcow/develop

adding clarification to the history API.

12 years agoadding clarification to the history API. It was not clear how the history list was...
karl [Thu, 12 Jul 2012 20:34:28 +0000 (16:34 -0400)]
adding clarification to the history API. It was not clear how the history list was sorted.

12 years agomakin' history v0.13.3
Kenneth Reitz [Thu, 12 Jul 2012 20:18:35 +0000 (13:18 -0700)]
makin' history

12 years agov0.13.3
Kenneth Reitz [Thu, 12 Jul 2012 20:12:54 +0000 (13:12 -0700)]
v0.13.3

12 years agoMerge branch 'develop' of git://github.com/siebenschlaefer/requests into develop
Kenneth Reitz [Thu, 12 Jul 2012 19:06:43 +0000 (12:06 -0700)]
Merge branch 'develop' of git://github.com/siebenschlaefer/requests into develop

Conflicts:
AUTHORS.rst

12 years agoMerge pull request #717 from ms4py/patch-2
Kenneth Reitz [Thu, 12 Jul 2012 07:28:59 +0000 (00:28 -0700)]
Merge pull request #717 from ms4py/patch-2

Updated documentation

12 years agoThis shouldn't be here anymore.
Marc Schlaich [Thu, 12 Jul 2012 07:22:12 +0000 (10:22 +0300)]
This shouldn't be here anymore.

12 years agoMerge pull request #715 from Lukasa/develop
Kenneth Reitz [Thu, 12 Jul 2012 07:09:21 +0000 (00:09 -0700)]
Merge pull request #715 from Lukasa/develop

Do not hide SSLErrors behind Timeouts.

12 years agoDo not hide SSLErrors behind Timeouts.
Cory Benfield [Wed, 11 Jul 2012 16:31:59 +0000 (17:31 +0100)]
Do not hide SSLErrors behind Timeouts.

12 years agoMerge pull request #714 from muhtasib/develop
Kenneth Reitz [Tue, 10 Jul 2012 22:48:07 +0000 (15:48 -0700)]
Merge pull request #714 from muhtasib/develop

Documentation Update

12 years agoFix minor formatting issue.
muhtasib [Tue, 10 Jul 2012 22:34:29 +0000 (19:34 -0300)]
Fix minor formatting issue.

12 years agoUpdated documentation for SSL client cert usuage.
Leila Muhtasib [Tue, 10 Jul 2012 22:25:32 +0000 (18:25 -0400)]
Updated documentation for SSL client cert usuage.

Co-Authored By: Timnit Gebru <tgebru@gmail.com>
Co-Authored By: Sarah Gonzalez <smar.gonz@gmail.com>
Co-Authored By: Victoria Mo <vm2355@columbia.edu>

12 years agofixed param handling in Request.full_url
Matthias Rahlf [Mon, 9 Jul 2012 23:06:02 +0000 (01:06 +0200)]
fixed param handling in Request.full_url

12 years agoMerge pull request #709 from dstufft/develop
Kenneth Reitz [Sun, 8 Jul 2012 07:42:17 +0000 (00:42 -0700)]
Merge pull request #709 from dstufft/develop

Have User Agent include more details

12 years agoMove the user agent generation into it's own utility function
Donald Stufft [Sun, 8 Jul 2012 04:47:24 +0000 (00:47 -0400)]
Move the user agent generation into it's own utility function

12 years agoReadd default that was accidently removed
Donald Stufft [Sun, 8 Jul 2012 04:37:23 +0000 (00:37 -0400)]
Readd default that was accidently removed

12 years ago#710
Kenneth Reitz [Sun, 8 Jul 2012 04:27:26 +0000 (00:27 -0400)]
#710

12 years agosimplify #710
Kenneth Reitz [Sun, 8 Jul 2012 04:24:24 +0000 (00:24 -0400)]
simplify #710

12 years agomerge conflict
Kenneth Reitz [Sun, 8 Jul 2012 04:23:36 +0000 (00:23 -0400)]
merge conflict

12 years agoMerge pull request #710 from zachwill/develop
Kenneth Reitz [Sun, 8 Jul 2012 04:21:54 +0000 (21:21 -0700)]
Merge pull request #710 from zachwill/develop

Add try/catch for simplejson vs json

12 years agoAdd try/catch for simplejson vs json
Zach Williams [Sun, 8 Jul 2012 04:14:29 +0000 (21:14 -0700)]
Add try/catch for simplejson vs json

12 years agoInclude the system name and version in the default user agent
Donald Stufft [Sat, 7 Jul 2012 20:13:39 +0000 (16:13 -0400)]
Include the system name and version in the default user agent

12 years agoInclude the implementation and implementation version number in the default User...
Donald Stufft [Sat, 7 Jul 2012 20:07:19 +0000 (16:07 -0400)]
Include the implementation and implementation version number in the default User-Agent

12 years agoMerge remote-tracking branch 'origin/master'
Kenneth Reitz [Fri, 6 Jul 2012 06:54:12 +0000 (02:54 -0400)]
Merge remote-tracking branch 'origin/master'

12 years agokippt
Kenneth Reitz [Fri, 6 Jul 2012 06:54:08 +0000 (02:54 -0400)]
kippt

12 years agoMerge pull request #703 from westonplatter/develop
Kenneth Reitz [Mon, 2 Jul 2012 11:31:09 +0000 (04:31 -0700)]
Merge pull request #703 from westonplatter/develop

made the develop README.rest TravisCI PNG link to TravisCI project status page

12 years agoMerge pull request #705 from westonplatter/master
Kenneth Reitz [Sun, 1 Jul 2012 01:07:27 +0000 (18:07 -0700)]
Merge pull request #705 from westonplatter/master

travis ci png linked

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 link to TravisCI project status page
Weston Platter [Sat, 30 Jun 2012 22:33:40 +0000 (18:33 -0400)]
made the TravisCI PNG link to TravisCI project 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