services/python-requests.git
13 years agoTry to use the OS's CA certificate bundle for SSL verification
Shivaram Lingamneni [Mon, 16 Apr 2012 19:31:47 +0000 (12:31 -0700)]
Try to use the OS's CA certificate bundle for SSL verification

13 years agoMerge pull request #550 from reclosedev/develop
Kenneth Reitz [Sat, 14 Apr 2012 10:19:10 +0000 (03:19 -0700)]
Merge pull request #550 from reclosedev/develop

Fix issue #549. Add 'prefetch' to Session.__attrs__ and Requests.__init__

13 years agofix #549 Add 'prefetch' to Session.__attrs__ and Requests.__init__
Roman Haritonov [Fri, 13 Apr 2012 15:25:10 +0000 (19:25 +0400)]
fix #549 Add 'prefetch' to Session.__attrs__ and Requests.__init__

13 years agoMerge branch 'develop' of https://github.com/catwell/requests into develop
Kenneth Reitz [Fri, 13 Apr 2012 06:34:18 +0000 (08:34 +0200)]
Merge branch 'develop' of https://github.com/catwell/requests into develop

13 years agoMerge pull request #548 from umbrae/httperror_fix
Kenneth Reitz [Thu, 12 Apr 2012 19:44:44 +0000 (12:44 -0700)]
Merge pull request #548 from umbrae/httperror_fix

A get with an invalid port should wrap urllib3's LocationParseError exception with our own.

13 years agoA get with an invalid port should wrap urllib3's LocationParseError exception with...
Chris Dary [Thu, 12 Apr 2012 16:35:34 +0000 (12:35 -0400)]
A get with an invalid port should wrap urllib3's LocationParseError exception with our own.

13 years agoEncode Multipart Post data at Request creation
Pierre Chapuis [Thu, 12 Apr 2012 15:49:48 +0000 (17:49 +0200)]
Encode Multipart Post data at Request creation

This fixes #298 (File upload not working with
HTTP digest authentication)

13 years agoFix infinite loop on wrong Digest Authentication
Pierre Chapuis [Thu, 12 Apr 2012 14:33:15 +0000 (16:33 +0200)]
Fix infinite loop on wrong Digest Authentication

13 years agoMerge pull request #535 from Jonty/develop
Kenneth Reitz [Wed, 11 Apr 2012 15:02:46 +0000 (08:02 -0700)]
Merge pull request #535 from Jonty/develop

Fix decoding of invalid %encodings in URLs

13 years agoRewrite unquote_unreserved based on urllib.unquote
Jonty Wareing [Wed, 4 Apr 2012 09:34:39 +0000 (09:34 +0000)]
Rewrite unquote_unreserved based on urllib.unquote

This is almost entirely taken from the unquote implementation in urllib,
slightly modified for the case in hand. It now deals with invalid %encodings
rather than exploding, and the code is somewhat simpler.

13 years agoAdd failing tests for invalid %encodings
Jonty Wareing [Wed, 4 Apr 2012 09:17:53 +0000 (09:17 +0000)]
Add failing tests for invalid %encodings

13 years agoReenable test_session_with_escaped_url test
Jonty Wareing [Wed, 4 Apr 2012 09:15:58 +0000 (09:15 +0000)]
Reenable test_session_with_escaped_url test

13 years agoTrigger setup.py develop when installing requirements
Idan Gazit [Wed, 11 Apr 2012 11:05:33 +0000 (14:05 +0300)]
Trigger setup.py develop when installing requirements

13 years agoClarify digest hash method names
Idan Gazit [Wed, 11 Apr 2012 11:02:59 +0000 (14:02 +0300)]
Clarify digest hash method names

13 years ago#539
Kenneth Reitz [Wed, 11 Apr 2012 02:00:25 +0000 (23:00 -0300)]
#539

13 years agoMerge pull request #545 from sharat87/patch-1
Kenneth Reitz [Tue, 10 Apr 2012 15:43:46 +0000 (08:43 -0700)]
Merge pull request #545 from sharat87/patch-1

Add docs on sending lists for multivalued query params.

13 years agoAdd docs on sending lists for multivalued query params.
Shrikant Sharat Kandula [Tue, 10 Apr 2012 09:12:38 +0000 (14:42 +0530)]
Add docs on sending lists for multivalued query params.

13 years agomoar
Kenneth Reitz [Mon, 9 Apr 2012 08:22:07 +0000 (04:22 -0400)]
moar

13 years agoMerge pull request #542 from newmaniese/develop
Kenneth Reitz [Mon, 9 Apr 2012 03:13:38 +0000 (20:13 -0700)]
Merge pull request #542 from newmaniese/develop

Attempting to address issue #377 by making content on the response model a little smarter

13 years agoFixing a silly typo in my test
Michael Newman [Sun, 8 Apr 2012 22:46:26 +0000 (18:46 -0400)]
Fixing a silly typo in my test

13 years agoShamelessly adding myself to the authors list
Michael Newman [Sun, 8 Apr 2012 22:42:08 +0000 (18:42 -0400)]
Shamelessly adding myself to the authors list

13 years agoIf there is no content in a response don't throw an error the second time that conten...
Michael Newman [Sun, 8 Apr 2012 22:39:44 +0000 (18:39 -0400)]
If there is no content in a response don't throw an error the second time that content is attempted to be read. This addresses issue #377 <https://github.com/kennethreitz/requests/issues/377>

13 years agoMerge pull request #540 from jhalcrow/patch-1
Kenneth Reitz [Fri, 6 Apr 2012 17:01:19 +0000 (10:01 -0700)]
Merge pull request #540 from jhalcrow/patch-1

Correct path to test_requests.py for setup.py test

13 years agoCorrect path to test_requests.py for setup.py test
Jonathan Halcrow [Fri, 6 Apr 2012 15:50:16 +0000 (12:50 -0300)]
Correct path to test_requests.py for setup.py test

13 years agoMerge pull request #534 from ThiefMaster/patch-1
Kenneth Reitz [Wed, 4 Apr 2012 08:05:00 +0000 (01:05 -0700)]
Merge pull request #534 from ThiefMaster/patch-1

Remove bad tab indent

13 years agoRemove bad tab indent
Adrian [Wed, 4 Apr 2012 08:03:49 +0000 (11:03 +0300)]
Remove bad tab indent

13 years agoFixed typoe (s/repsonses/responses/)
Andrey Petrov [Mon, 2 Apr 2012 23:59:08 +0000 (16:59 -0700)]
Fixed typoe (s/repsonses/responses/)

13 years agoMerge pull request #530 from Osmose/sidebar_donate
Kenneth Reitz [Mon, 2 Apr 2012 07:44:00 +0000 (00:44 -0700)]
Merge pull request #530 from Osmose/sidebar_donate

Fix #506: Change "Support Requests" to "Donate".

13 years agoMichael Kelly
Kenneth Reitz [Mon, 2 Apr 2012 07:43:11 +0000 (03:43 -0400)]
Michael Kelly

13 years agoFix #506: Change "Support Requests" to "Donate".
Michael Kelly [Mon, 2 Apr 2012 07:40:20 +0000 (00:40 -0700)]
Fix #506: Change "Support Requests" to "Donate".

13 years agoMerge remote-tracking branch 'origin/develop' into develop
Kenneth Reitz [Sat, 31 Mar 2012 21:39:31 +0000 (17:39 -0400)]
Merge remote-tracking branch 'origin/develop' into develop

13 years agonew urllib3 version
Kenneth Reitz [Sat, 31 Mar 2012 21:39:26 +0000 (17:39 -0400)]
new urllib3 version

#498

13 years agoMerge pull request #529 from piotr-dobrogost/develop
Kenneth Reitz [Sat, 31 Mar 2012 20:21:17 +0000 (13:21 -0700)]
Merge pull request #529 from piotr-dobrogost/develop

Removed unnecessary leading slashes in httpbin's endpoints

13 years agoRemoved unnecessary leading slashes in httpbin's endpoints
Piotr Dobrogost [Sat, 31 Mar 2012 20:16:55 +0000 (22:16 +0200)]
Removed unnecessary leading slashes in httpbin's endpoints

13 years agoMerge pull request #528 from floppym/dist-tests
Kenneth Reitz [Sat, 31 Mar 2012 18:36:21 +0000 (11:36 -0700)]
Merge pull request #528 from floppym/dist-tests

Include tests in tarballs.

13 years agoInclude tests in tarballs.
Mike Gilbert [Sat, 31 Mar 2012 18:22:49 +0000 (14:22 -0400)]
Include tests in tarballs.

13 years agoroadmap
Kenneth Reitz [Sat, 31 Mar 2012 07:21:31 +0000 (03:21 -0400)]
roadmap

13 years agofake change for commit hook test
Kenneth Reitz [Sat, 31 Mar 2012 07:11:43 +0000 (03:11 -0400)]
fake change for commit hook test

13 years agoapp engine #498
Kenneth Reitz [Sat, 31 Mar 2012 07:08:12 +0000 (03:08 -0400)]
app engine #498

13 years agoblah
Kenneth Reitz [Sat, 31 Mar 2012 07:06:28 +0000 (03:06 -0400)]
blah

13 years agolicense=open("LICENSE").read(
Kenneth Reitz [Sat, 31 Mar 2012 06:53:14 +0000 (02:53 -0400)]
license=open("LICENSE").read(

13 years ago.. :changelog:
Kenneth Reitz [Sat, 31 Mar 2012 06:51:38 +0000 (02:51 -0400)]
.. :changelog:

13 years agoHTTP/1.1
Kenneth Reitz [Sat, 31 Mar 2012 04:08:38 +0000 (00:08 -0400)]
HTTP/1.1

13 years agov0.11.1 v0.11.1
Kenneth Reitz [Sat, 31 Mar 2012 03:42:56 +0000 (23:42 -0400)]
v0.11.1

13 years agodefault to true for redirects now, since safe
Kenneth Reitz [Sat, 31 Mar 2012 03:42:04 +0000 (23:42 -0400)]
default to true for redirects now, since safe

13 years agoupload data on redirects too
Kenneth Reitz [Sat, 31 Mar 2012 03:31:19 +0000 (23:31 -0400)]
upload data on redirects too

13 years agov0.11.1
Kenneth Reitz [Sat, 31 Mar 2012 03:30:56 +0000 (23:30 -0400)]
v0.11.1

13 years agoPOST redirect => GET
Kenneth Reitz [Sat, 31 Mar 2012 03:28:07 +0000 (23:28 -0400)]
POST redirect => GET

#269

13 years agoMerge remote-tracking branch 'origin/develop' into develop
Kenneth Reitz [Sat, 31 Mar 2012 03:15:47 +0000 (23:15 -0400)]
Merge remote-tracking branch 'origin/develop' into develop

13 years agoFix app engine error for #498
Kenneth Reitz [Sat, 31 Mar 2012 03:15:43 +0000 (23:15 -0400)]
Fix app engine error for #498

13 years agostrict mode for #269
Kenneth Reitz [Sat, 31 Mar 2012 03:15:31 +0000 (23:15 -0400)]
strict mode for #269

13 years agoMerge pull request #519 from pulpe/doc-fix
Kenneth Reitz [Sat, 31 Mar 2012 02:58:38 +0000 (19:58 -0700)]
Merge pull request #519 from pulpe/doc-fix

little correction of curl in docs

13 years agolittle correction of curl in docs
pulpe [Wed, 28 Mar 2012 08:45:21 +0000 (10:45 +0200)]
little correction of curl in docs

13 years agoMerge remote-tracking branch 'origin/develop' into develop
Kenneth Reitz [Sun, 25 Mar 2012 19:26:58 +0000 (15:26 -0400)]
Merge remote-tracking branch 'origin/develop' into develop

13 years agourllib3 v1.3
Kenneth Reitz [Sun, 25 Mar 2012 19:26:55 +0000 (15:26 -0400)]
urllib3 v1.3

13 years agoMerge pull request #512 from silent1mezzo/master
Kenneth Reitz [Sun, 25 Mar 2012 19:00:57 +0000 (12:00 -0700)]
Merge pull request #512 from silent1mezzo/master

Adds MissingSchema and InvalidSchema Exceptions

13 years agoCreated MissingSchema and InvalidSchema which inherits from RequestException and...
Adam McKerlie [Sun, 25 Mar 2012 15:03:36 +0000 (11:03 -0400)]
Created MissingSchema and InvalidSchema which inherits from RequestException and ValueError

13 years agopaypal
Kenneth Reitz [Sun, 25 Mar 2012 07:56:00 +0000 (03:56 -0400)]
paypal

13 years agoMerge branch 'develop' of github.com:kennethreitz/requests into develop
Kenneth Reitz [Thu, 22 Mar 2012 19:00:51 +0000 (15:00 -0400)]
Merge branch 'develop' of github.com:kennethreitz/requests into develop

13 years ago#508
Kenneth Reitz [Thu, 22 Mar 2012 19:00:47 +0000 (15:00 -0400)]
#508

13 years agoSuggesting changing "async.map(rs)" to "responses = async.map(rs)" just to show that...
Daniel Miller [Thu, 22 Mar 2012 18:57:19 +0000 (11:57 -0700)]
Suggesting changing "async.map(rs)" to "responses = async.map(rs)" just to show that it returns a list rather than mutating the original? Maybe this is apparent for most, but I was a bit confused =/ goo.gl/gE4up

13 years agoSteve Pulec
Kenneth Reitz [Mon, 19 Mar 2012 02:19:48 +0000 (22:19 -0400)]
Steve Pulec

13 years agoMerge branch 'patch-1' of https://github.com/spulec/requests into develop
Kenneth Reitz [Mon, 19 Mar 2012 02:18:49 +0000 (22:18 -0400)]
Merge branch 'patch-1' of https://github.com/spulec/requests into develop

13 years agoMerge #491
Kenneth Reitz [Mon, 19 Mar 2012 02:15:05 +0000 (22:15 -0400)]
Merge #491

13 years agoMerge pull request #488 from newmaniese/develop
Kenneth Reitz [Mon, 19 Mar 2012 02:08:51 +0000 (19:08 -0700)]
Merge pull request #488 from newmaniese/develop

Excluding select from the monkey patching that gevent does to allow sele...

13 years agoMerge pull request #494 from JDrosdeck/doc
Kenneth Reitz [Mon, 19 Mar 2012 02:07:31 +0000 (19:07 -0700)]
Merge pull request #494 from JDrosdeck/doc

Add quickstart doc and example for passing parameters in a GET request

13 years agoFixes issues #496 by having Response.ok catch all Requests exceptions.
Steve Pulec [Mon, 19 Mar 2012 02:06:42 +0000 (23:06 -0300)]
Fixes issues #496 by having Response.ok catch all Requests exceptions.

13 years agoMerge pull request #497 from iandanforth/develop
Kenneth Reitz [Mon, 19 Mar 2012 02:04:56 +0000 (19:04 -0700)]
Merge pull request #497 from iandanforth/develop

Develop

13 years agoMerge remote-tracking branch 'origin/develop' into develop
Kenneth Reitz [Mon, 19 Mar 2012 02:02:46 +0000 (22:02 -0400)]
Merge remote-tracking branch 'origin/develop' into develop

13 years agoremove debian packaging warning
Kenneth Reitz [Mon, 19 Mar 2012 02:02:43 +0000 (22:02 -0400)]
remove debian packaging warning

it's up to date now

13 years agoSphinx throws an error if you don't escape ** in **kwargs
Ian Danforth [Mon, 19 Mar 2012 01:11:15 +0000 (18:11 -0700)]
Sphinx throws an error if you don't escape ** in **kwargs

13 years agoSphinx throws an error if you don't escape ** in **kwargs
Ian Danforth [Mon, 19 Mar 2012 01:09:58 +0000 (18:09 -0700)]
Sphinx throws an error if you don't escape ** in **kwargs

13 years agoAdd quickstart doc and example for passing parameters in a GET request
Jonathan Drosdeck [Sun, 18 Mar 2012 19:37:46 +0000 (15:37 -0400)]
Add quickstart doc and example for passing parameters in a GET request

13 years agoMerge https://github.com/kennethreitz/requests into develop
Michael Newman [Fri, 16 Mar 2012 19:32:50 +0000 (15:32 -0400)]
Merge https://github.com/kennethreitz/requests into develop

13 years agoMerge pull request #477 from maxcountryman/develop
Kenneth Reitz [Fri, 16 Mar 2012 01:15:27 +0000 (18:15 -0700)]
Merge pull request #477 from maxcountryman/develop

potentially fixes #338

13 years agoMerge pull request #483 from maxcountryman/cleanup
Kenneth Reitz [Fri, 16 Mar 2012 01:14:35 +0000 (18:14 -0700)]
Merge pull request #483 from maxcountryman/cleanup

removing unused import

13 years agoMerge pull request #489 from maxcountryman/patch-1
Kenneth Reitz [Fri, 16 Mar 2012 01:13:26 +0000 (18:13 -0700)]
Merge pull request #489 from maxcountryman/patch-1

fixing link to AUTHORS in README

13 years agofixing link to AUTHORS in README
Max Countryman [Fri, 16 Mar 2012 01:05:08 +0000 (22:05 -0300)]
fixing link to AUTHORS in README

13 years agoExcluding select from the monkey patching that gevent does to allow select.poll and...
Michael Newman [Thu, 15 Mar 2012 18:41:45 +0000 (14:41 -0400)]
Excluding select from the monkey patching that gevent does to allow select.poll and requests.async in the same project

Fix for issue #487, including a regression test that checks the
existence of select.poll before and after loading requests.async.

13 years agoMerge pull request #486 from Pinkerton/patch-1
Kenneth Reitz [Thu, 15 Mar 2012 03:08:17 +0000 (20:08 -0700)]
Merge pull request #486 from Pinkerton/patch-1

Fix issue #484

13 years agoFix issue #484
Pinkerton [Thu, 15 Mar 2012 02:54:06 +0000 (19:54 -0700)]
Fix issue #484

13 years agov0.11.0
Kenneth Reitz [Thu, 15 Mar 2012 00:31:43 +0000 (20:31 -0400)]
v0.11.0

13 years agoNick Chadwick
Kenneth Reitz [Thu, 15 Mar 2012 00:30:03 +0000 (20:30 -0400)]
Nick Chadwick

13 years agoonly verify private cert when verity is true
Kenneth Reitz [Thu, 15 Mar 2012 00:29:30 +0000 (20:29 -0400)]
only verify private cert when verity is true

13 years agoMerge branch 'develop' of https://github.com/chadnickbok/requests into develop
Kenneth Reitz [Thu, 15 Mar 2012 00:27:07 +0000 (20:27 -0400)]
Merge branch 'develop' of https://github.com/chadnickbok/requests into develop

13 years agoMerge remote-tracking branch 'origin/develop' into develop
Kenneth Reitz [Thu, 15 Mar 2012 00:27:02 +0000 (20:27 -0400)]
Merge remote-tracking branch 'origin/develop' into develop

13 years agoUpdated Requests api to accept a 'cert' argument.
chadnickbok@gmail.com [Thu, 15 Mar 2012 00:15:29 +0000 (17:15 -0700)]
Updated Requests api to accept a 'cert' argument.
This argument can be either a string, containing the path to a
pem-formatted key and certificate chain, or a tuple of (cert, key).

When supplied a tuple, the values are paths to an SSL certificate
chain file and key, respectively.

13 years agoExposed key_file and cert_file in requests, to support https client certificates.
chadnickbok@gmail.com [Wed, 14 Mar 2012 22:57:30 +0000 (15:57 -0700)]
Exposed key_file and cert_file in requests, to support https client certificates.

13 years agoremoving unused import
Max Countryman [Wed, 14 Mar 2012 00:10:32 +0000 (20:10 -0400)]
removing unused import

13 years agoMerge branch 'develop' of github.com:kennethreitz/requests into develop
Idan Gazit [Wed, 14 Mar 2012 00:05:24 +0000 (17:05 -0700)]
Merge branch 'develop' of github.com:kennethreitz/requests into develop

13 years agoRemove unused import
Idan Gazit [Wed, 14 Mar 2012 00:04:26 +0000 (17:04 -0700)]
Remove unused import

13 years agoremove cruft
Kenneth Reitz [Tue, 13 Mar 2012 23:44:45 +0000 (16:44 -0700)]
remove cruft

13 years agodict sequence
Kenneth Reitz [Tue, 13 Mar 2012 23:42:16 +0000 (16:42 -0700)]
dict sequence

13 years agodict_to_sequence
Kenneth Reitz [Tue, 13 Mar 2012 23:39:51 +0000 (16:39 -0700)]
dict_to_sequence

13 years agoMerge branch 'develop', remote-tracking branch 'upstream/develop' into develop
Idan Gazit [Tue, 13 Mar 2012 19:59:33 +0000 (12:59 -0700)]
Merge branch 'develop', remote-tracking branch 'upstream/develop' into develop

13 years agofurther lies.
Kenneth Reitz [Tue, 13 Mar 2012 03:54:02 +0000 (20:54 -0700)]
further lies.

13 years agoMerge branch 'josh' into develop
Kenneth Reitz [Tue, 13 Mar 2012 03:51:59 +0000 (20:51 -0700)]
Merge branch 'josh' into develop

13 years agolies.
Kenneth Reitz [Tue, 13 Mar 2012 03:46:23 +0000 (20:46 -0700)]
lies.

13 years agoexplicating the cause of LookupError with a better comment
Max Countryman [Mon, 12 Mar 2012 02:22:29 +0000 (22:22 -0400)]
explicating the cause of LookupError with a better comment

13 years agopotentially fixes #338
Max Countryman [Fri, 9 Mar 2012 22:26:57 +0000 (17:26 -0500)]
potentially fixes #338

This attempts to fix an issue where encoding of a string might fail when the
encoding is set to some unknown format. Here we attempt to catch the
LookupException and subsequently blindly encode the string one final time.
That is we call str() over response.content without specifying an encoding.
This may still fail in certain cases but does properly handle the case of #338
by returning the expected string.