platform/upstream/python-requests.git
11 years agofixed print statement
Riyad Parvez [Sat, 5 Oct 2013 14:11:30 +0000 (20:11 +0600)]
fixed print statement

11 years agoUpdate advanced.rst
Riyad Parvez [Sat, 5 Oct 2013 14:10:27 +0000 (20:10 +0600)]
Update advanced.rst

11 years agoremoved deprecated while 1:
Riyad Parvez [Sat, 5 Oct 2013 03:59:47 +0000 (09:59 +0600)]
removed deprecated while 1:

11 years agofixed print statement
Riyad Parvez [Sat, 5 Oct 2013 03:57:18 +0000 (09:57 +0600)]
fixed print statement

11 years agofixed print statement
Riyad Parvez [Sat, 5 Oct 2013 03:56:11 +0000 (09:56 +0600)]
fixed print statement

11 years agoupdated print statement
Riyad Parvez [Sat, 5 Oct 2013 03:55:14 +0000 (09:55 +0600)]
updated print statement

11 years agoreplaced deprecated BaseException
Riyad Parvez [Sat, 5 Oct 2013 03:53:34 +0000 (09:53 +0600)]
replaced deprecated BaseException

11 years agoMerge pull request #1649 from dpursehouse/minor-doc-updates
Cory Benfield [Fri, 4 Oct 2013 08:55:19 +0000 (01:55 -0700)]
Merge pull request #1649 from dpursehouse/minor-doc-updates

Minor doc updates

11 years agoMerge pull request #1651 from GrahamDumpleton/master
Kenneth Reitz [Fri, 4 Oct 2013 06:14:26 +0000 (23:14 -0700)]
Merge pull request #1651 from GrahamDumpleton/master

Translate urllib3 ProxyError into a requests ProxyError derived from ConnectionError.

11 years agoTranslate urllib3 ProxyError into a requests ProxyError derived from ConnectionError.
Graham Dumpleton [Fri, 4 Oct 2013 06:07:11 +0000 (16:07 +1000)]
Translate urllib3 ProxyError into a requests ProxyError derived from ConnectionError.

11 years agoMinor doc updates
David Pursehouse [Fri, 4 Oct 2013 01:19:33 +0000 (10:19 +0900)]
Minor doc updates

- Improve wording of sentence describing proxy environment
  variable setting.
- Mention that proxy URLs must include the scheme.

11 years agoTypo in changelog.
Cory Benfield [Wed, 25 Sep 2013 13:00:17 +0000 (14:00 +0100)]
Typo in changelog.

11 years agoMerge pull request #1621 from davidfischer/migrate-2-0
Kenneth Reitz [Wed, 25 Sep 2013 02:02:18 +0000 (19:02 -0700)]
Merge pull request #1621 from davidfischer/migrate-2-0

Added migrating to 2.x docs

11 years agoAdded link to @Lukasa's blog - the source material
David Fischer [Wed, 25 Sep 2013 01:59:04 +0000 (18:59 -0700)]
Added link to @Lukasa's blog - the source material

11 years agoAdded migrating to 2.x docs
David Fischer [Wed, 25 Sep 2013 01:35:22 +0000 (18:35 -0700)]
Added migrating to 2.x docs

11 years agoadd history to the docs
Kenneth Reitz [Tue, 24 Sep 2013 19:08:12 +0000 (15:08 -0400)]
add history to the docs

11 years agoreadme fix
Kenneth Reitz [Tue, 24 Sep 2013 18:41:39 +0000 (14:41 -0400)]
readme fix

11 years agoMerge remote-tracking branch 'origin/master'
Kenneth Reitz [Tue, 24 Sep 2013 18:31:25 +0000 (14:31 -0400)]
Merge remote-tracking branch 'origin/master'

11 years agoMerge pull request #1619 from Lukasa/master
Kenneth Reitz [Tue, 24 Sep 2013 18:31:13 +0000 (11:31 -0700)]
Merge pull request #1619 from Lukasa/master

Up to date CL.

11 years agoTimeoutSauce!
Kenneth Reitz [Tue, 24 Sep 2013 18:31:00 +0000 (14:31 -0400)]
TimeoutSauce!

11 years agoUp to date CL.
Cory Benfield [Tue, 24 Sep 2013 18:26:31 +0000 (19:26 +0100)]
Up to date CL.

11 years agonote on timeouts
Kenneth Reitz [Tue, 24 Sep 2013 18:22:02 +0000 (14:22 -0400)]
note on timeouts

11 years agov2.0.0
Kenneth Reitz [Tue, 24 Sep 2013 18:19:07 +0000 (14:19 -0400)]
v2.0.0

11 years ago2.0.0
Kenneth Reitz [Tue, 24 Sep 2013 18:17:17 +0000 (14:17 -0400)]
2.0.0

11 years agomerge 2.0 insto master
Kenneth Reitz [Tue, 24 Sep 2013 18:13:28 +0000 (14:13 -0400)]
merge 2.0 insto master

11 years agorunscope!
Kenneth Reitz [Tue, 24 Sep 2013 18:08:28 +0000 (14:08 -0400)]
runscope!

11 years agoprototype for new urllib3 timeouts
Kenneth Reitz [Tue, 24 Sep 2013 18:06:24 +0000 (14:06 -0400)]
prototype for new urllib3 timeouts

11 years agonew urllib3
Kenneth Reitz [Tue, 24 Sep 2013 17:59:38 +0000 (13:59 -0400)]
new urllib3

11 years agoMerge pull request #1503 from skastel/master
Kenneth Reitz [Tue, 24 Sep 2013 17:48:07 +0000 (10:48 -0700)]
Merge pull request #1503 from skastel/master

Fixing error return to be consistent with tuple return at the end of the method

11 years agoMerge pull request #1602 from sigmavirus24/handle_multiple_qop_types
Kenneth Reitz [Tue, 24 Sep 2013 17:46:16 +0000 (10:46 -0700)]
Merge pull request #1602 from sigmavirus24/handle_multiple_qop_types

Handle multiple qop types

11 years agoMerge pull request #1585 from rvoicilas/master
Kenneth Reitz [Tue, 24 Sep 2013 17:45:46 +0000 (10:45 -0700)]
Merge pull request #1585 from rvoicilas/master

Use values() when the keys are not being used

11 years agoMerge pull request #1541 from Lukasa/releasenote
Kenneth Reitz [Tue, 24 Sep 2013 17:45:11 +0000 (10:45 -0700)]
Merge pull request #1541 from Lukasa/releasenote

[2.0] Tracking PR for the 2.0 changelog

11 years agoMerge pull request #1565 from Lukasa/relative
Kenneth Reitz [Tue, 24 Sep 2013 17:39:09 +0000 (10:39 -0700)]
Merge pull request #1565 from Lukasa/relative

Don't absolute import things we've vendored.

11 years agorunscope
Kenneth Reitz [Tue, 24 Sep 2013 17:31:29 +0000 (13:31 -0400)]
runscope

11 years agoHandle case when WWW-Authenticate returns multiple qops
Ian Cordasco [Sat, 14 Sep 2013 03:29:39 +0000 (22:29 -0500)]
Handle case when WWW-Authenticate returns multiple qops

In Digest Access Authentication there are two possible values (four if you
count the not-present and both cases) for authentication. We were narrowly
handling one of the four cases. Now we handle two.

11 years agoMerge pull request #1598 from Lukasa/defaults
Kenneth Reitz [Fri, 13 Sep 2013 13:17:41 +0000 (06:17 -0700)]
Merge pull request #1598 from Lukasa/defaults

[2.0] Python default arguments are hard

11 years agoPython defaults arguments are hard.
Cory Benfield [Fri, 13 Sep 2013 13:10:09 +0000 (14:10 +0100)]
Python defaults arguments are hard.

11 years agoFixup unicode in AUTHORS file
Cory Benfield [Thu, 12 Sep 2013 09:34:34 +0000 (10:34 +0100)]
Fixup unicode in AUTHORS file

11 years agoMerge pull request #1592 from homm/master
Cory Benfield [Thu, 12 Sep 2013 09:29:16 +0000 (02:29 -0700)]
Merge pull request #1592 from homm/master

remove extra mention of dangerous `r.raw`

11 years agoUpdate AUTHORS.rst
homm [Thu, 12 Sep 2013 09:27:06 +0000 (13:27 +0400)]
Update AUTHORS.rst

11 years agofix spelling
homm [Thu, 12 Sep 2013 09:21:54 +0000 (13:21 +0400)]
fix spelling

11 years agoclearly describe `r.raw` in Body Content Workflow
homm [Thu, 12 Sep 2013 09:13:51 +0000 (13:13 +0400)]
clearly describe `r.raw` in Body Content Workflow

11 years agoremove extra mention of dangerous `r.raw`
homm [Thu, 12 Sep 2013 06:20:47 +0000 (10:20 +0400)]
remove extra mention of dangerous `r.raw`

11 years agoMerge pull request #1591 from sayanchowdhury/patch-1
Cory Benfield [Wed, 11 Sep 2013 15:16:29 +0000 (08:16 -0700)]
Merge pull request #1591 from sayanchowdhury/patch-1

minor typo: Fix requests spelling

11 years agominor typo: Fix requests spelling
Sayan Chowdhury [Wed, 11 Sep 2013 14:51:57 +0000 (20:21 +0530)]
minor typo: Fix requests spelling

11 years agoMerge pull request #1587 from kracekumar/patch-1
Cory Benfield [Tue, 10 Sep 2013 13:43:04 +0000 (06:43 -0700)]
Merge pull request #1587 from kracekumar/patch-1

Fixed persistence spelling

11 years agoFixed persistence spelling
kracekumar [Tue, 10 Sep 2013 12:22:29 +0000 (17:52 +0530)]
Fixed persistence spelling

11 years agoUse values() when the keys are not being used
Radu Voicilas [Mon, 9 Sep 2013 12:21:36 +0000 (15:21 +0300)]
Use values() when the keys are not being used

11 years agoMerge pull request #1579 from yang/patch-1
Cory Benfield [Sun, 8 Sep 2013 15:05:00 +0000 (08:05 -0700)]
Merge pull request #1579 from yang/patch-1

Clarify timeout behavior in quickstart doc

11 years agoFix typo in Timeouts doc
Yang Zhang [Sat, 7 Sep 2013 07:16:09 +0000 (00:16 -0700)]
Fix typo in Timeouts doc

11 years agoClarify timeout behavior in quickstart doc
Yang Zhang [Sat, 7 Sep 2013 02:27:57 +0000 (19:27 -0700)]
Clarify timeout behavior in quickstart doc

11 years agoMerge pull request #1578 from jparise/jparise-authors
Cory Benfield [Thu, 5 Sep 2013 06:44:28 +0000 (23:44 -0700)]
Merge pull request #1578 from jparise/jparise-authors

Adding myself to the list of contributors.

11 years agoAdding myself to the list of contributors.
Jon Parise [Wed, 4 Sep 2013 16:00:03 +0000 (09:00 -0700)]
Adding myself to the list of contributors.

11 years agoMerge pull request #1575 from jparise/content-encoding
Kenneth Reitz [Wed, 4 Sep 2013 02:42:43 +0000 (19:42 -0700)]
Merge pull request #1575 from jparise/content-encoding

Improved content encoding detection.

11 years agoImproved content encoding detection.
Jon Parise [Tue, 3 Sep 2013 23:16:46 +0000 (16:16 -0700)]
Improved content encoding detection.

get_encodings_from_content() can now detect HTML in-document content
encoding declarations in the following formats:

 - HTML5
 - HTML4
 - XHTML 1.x served with text/html MIME type
 - XHTML 1.x served as XML

Ref: http://www.w3.org/International/questions/qa-html-encoding-declarations

11 years agoMerge pull request #1566 from sigmavirus24/update_readme
Cory Benfield [Sun, 1 Sep 2013 18:25:04 +0000 (11:25 -0700)]
Merge pull request #1566 from sigmavirus24/update_readme

Add link to Contributor Friendly tag in README

11 years agoAdd link to Contributor Friendly tag
Ian Cordasco [Sun, 1 Sep 2013 18:21:55 +0000 (13:21 -0500)]
Add link to Contributor Friendly tag

Add note that I'm willing to help anyone who is looking to submit a pull request

11 years agoBring release note current to 1st Sept.
Cory Benfield [Sun, 1 Sep 2013 17:46:46 +0000 (18:46 +0100)]
Bring release note current to 1st Sept.

11 years agoDon't absolute import vendored things.
Cory Benfield [Sun, 1 Sep 2013 17:10:09 +0000 (18:10 +0100)]
Don't absolute import vendored things.

11 years agoMerge pull request #1556 from ssbarnea/master
Cory Benfield [Tue, 27 Aug 2013 15:03:33 +0000 (08:03 -0700)]
Merge pull request #1556 from ssbarnea/master

Added link to StackOverflow questions related to python-requests. This s...

11 years agoAdded link to StackOverflow questions related to python-requests. This should be...
Sorin Sbarnea [Tue, 27 Aug 2013 14:39:07 +0000 (15:39 +0100)]
Added link to StackOverflow questions related to python-requests. This should be the default support way for the library, as clearly most questions are supposed to be programming related.

Signed-off-by: Sorin Sbarnea <sorin.sbarnea@citrix.com>
11 years agoMerge pull request #1552 from Lukasa/noproxy
Kenneth Reitz [Sat, 24 Aug 2013 00:23:57 +0000 (17:23 -0700)]
Merge pull request #1552 from Lukasa/noproxy

Allow spaces in the no_proxy environ variable

11 years agoAllow spaces in the no_proxy environ variable.
Cory Benfield [Fri, 23 Aug 2013 11:37:03 +0000 (12:37 +0100)]
Allow spaces in the no_proxy environ variable.

11 years agoMerge pull request #1537 from Lukasa/datetime
Kenneth Reitz [Wed, 21 Aug 2013 18:46:27 +0000 (11:46 -0700)]
Merge pull request #1537 from Lukasa/datetime

Allow non-string objects to be posted as data alongside files.

11 years agoMerge pull request #1527 from paul-matthews/restrict-hooks-access
Kenneth Reitz [Wed, 21 Aug 2013 18:28:23 +0000 (11:28 -0700)]
Merge pull request #1527 from paul-matthews/restrict-hooks-access

Raise an error for unsupported hook event

11 years agoMerge pull request #1536 from Lukasa/IOError
Kenneth Reitz [Wed, 21 Aug 2013 18:25:20 +0000 (11:25 -0700)]
Merge pull request #1536 from Lukasa/IOError

RequestsException subclasses IOError

11 years agoBegin work on the 2.0 changelog.
Cory Benfield [Mon, 19 Aug 2013 12:28:05 +0000 (13:28 +0100)]
Begin work on the 2.0 changelog.

11 years agoMerge pull request #1540 from libbkmz/master
Cory Benfield [Sun, 18 Aug 2013 20:03:03 +0000 (13:03 -0700)]
Merge pull request #1540 from libbkmz/master

Event hooks update

11 years agoUpdate advanced.rst
libbkmz [Sun, 18 Aug 2013 20:01:37 +0000 (00:01 +0400)]
Update advanced.rst

11 years agoMerge pull request #1538 from enkore/patch-1
Cory Benfield [Sun, 18 Aug 2013 06:26:59 +0000 (23:26 -0700)]
Merge pull request #1538 from enkore/patch-1

Remove superfluous double dot

11 years agoRemove superfluous double dot
enkore [Sun, 18 Aug 2013 01:06:34 +0000 (03:06 +0200)]
Remove superfluous double dot

11 years agoAllow non-string objects to be data with files
Cory Benfield [Sat, 17 Aug 2013 06:27:58 +0000 (07:27 +0100)]
Allow non-string objects to be data with files

11 years agoRequestException subclasses IOError.
Cory Benfield [Sat, 17 Aug 2013 06:17:03 +0000 (07:17 +0100)]
RequestException subclasses IOError.

11 years agoMerge pull request #1535 from sigmavirus24/ignore_original_response_if_none
Kenneth Reitz [Sat, 17 Aug 2013 03:15:18 +0000 (20:15 -0700)]
Merge pull request #1535 from sigmavirus24/ignore_original_response_if_none

Skip cookie extraction if necessary

11 years agoSkip cookie extraction if necessary
Ian Cordasco [Sat, 17 Aug 2013 02:38:20 +0000 (21:38 -0500)]
Skip cookie extraction if necessary

If _original_response is never set/is None, then don't try to extract cookies
from the response.

11 years agoMerge pull request #1515 from schlamar/https-proxy-2.0
Kenneth Reitz [Wed, 14 Aug 2013 20:41:08 +0000 (13:41 -0700)]
Merge pull request #1515 from schlamar/https-proxy-2.0

[2.0] Https proxy support

11 years agoAdd proxy_headers functionality.
Cory Benfield [Wed, 14 Aug 2013 08:47:44 +0000 (09:47 +0100)]
Add proxy_headers functionality.

This brings us in line with urllib3's fancy new magic for sending
headers to HTTP(S) proxies.

11 years agoRaise an error for unsupported hook event
Paul Matthews [Mon, 12 Aug 2013 13:20:25 +0000 (14:20 +0100)]
Raise an error for unsupported hook event

* Raises a ValueError for an unsupported hook event

11 years agoFixing tests to verify thrown ValueError's.
Stephen Huenneke [Thu, 8 Aug 2013 15:48:42 +0000 (08:48 -0700)]
Fixing tests to verify thrown ValueError's.

11 years agoRaising ValueError's when we're passed inconsistent POST data and files dict.
Stephen Huenneke [Tue, 6 Aug 2013 18:04:03 +0000 (11:04 -0700)]
Raising ValueError's when we're passed inconsistent POST data and files dict.

11 years agoMerge pull request #1516 from Lukasa/io
Kenneth Reitz [Tue, 6 Aug 2013 15:43:44 +0000 (08:43 -0700)]
Merge pull request #1516 from Lukasa/io

UnsupportedOperation errors

11 years agoCatch UnsupportedOperation.
Cory Benfield [Sat, 3 Aug 2013 18:24:23 +0000 (19:24 +0100)]
Catch UnsupportedOperation.

11 years agoAdded entry to AUTHORS.
schlamar [Thu, 1 Aug 2013 20:09:06 +0000 (22:09 +0200)]
Added entry to AUTHORS.

11 years agoAdded proxy support to feature list.
schlamar [Thu, 1 Aug 2013 20:08:22 +0000 (22:08 +0200)]
Added proxy support to feature list.

11 years agoCache manager for proxy connection.
ms4py [Mon, 4 Mar 2013 08:39:16 +0000 (09:39 +0100)]
Cache manager for proxy connection.

11 years agoFix for new proxy API.
ms4py [Mon, 4 Mar 2013 08:20:47 +0000 (09:20 +0100)]
Fix for new proxy API.

11 years agoUpdate urllib3 to 14b8945
ms4py [Mon, 4 Mar 2013 08:20:24 +0000 (09:20 +0100)]
Update urllib3 to 14b8945

11 years agoMerge pull request #1514 from Lukasa/verror
Kenneth Reitz [Fri, 2 Aug 2013 16:48:33 +0000 (09:48 -0700)]
Merge pull request #1514 from Lukasa/verror

Better percent-escape exception.

11 years agoBetter percent-escape exception.
Cory Benfield [Fri, 2 Aug 2013 11:29:23 +0000 (12:29 +0100)]
Better percent-escape exception.

11 years agoMerge pull request #1508 from dieterv/master
Kenneth Reitz [Thu, 1 Aug 2013 01:36:07 +0000 (18:36 -0700)]
Merge pull request #1508 from dieterv/master

remove duplicate comment

11 years agoMerge branch 'fix_401_cookies' of git://github.com/sigmavirus24/requests into 2.0
Kenneth Reitz [Thu, 1 Aug 2013 01:33:24 +0000 (21:33 -0400)]
Merge branch 'fix_401_cookies' of git://github.com/sigmavirus24/requests into 2.0

11 years agoMerge branch 'proxyscheme' of git://github.com/Lukasa/requests into 2.0
Kenneth Reitz [Thu, 1 Aug 2013 01:27:01 +0000 (21:27 -0400)]
Merge branch 'proxyscheme' of git://github.com/Lukasa/requests into 2.0

11 years agoMerge branch 'keytype' of git://github.com/Lukasa/requests into 2.0
Kenneth Reitz [Thu, 1 Aug 2013 01:25:57 +0000 (21:25 -0400)]
Merge branch 'keytype' of git://github.com/Lukasa/requests into 2.0

11 years agoMerge pull request #1500 from gavrie/master
Kenneth Reitz [Thu, 1 Aug 2013 01:23:43 +0000 (18:23 -0700)]
Merge pull request #1500 from gavrie/master

Update urllib3 to d89d508

11 years agoMerge pull request #1487 from dpursehouse/rewrite-test_mixed_case_scheme_acceptable
Kenneth Reitz [Thu, 1 Aug 2013 01:23:34 +0000 (18:23 -0700)]
Merge pull request #1487 from dpursehouse/rewrite-test_mixed_case_scheme_acceptable

Rewrite test cases to remove dependency on httpbin.org and example.com

11 years agoMerge pull request #1498 from Lukasa/incompleteread
Kenneth Reitz [Thu, 1 Aug 2013 01:23:14 +0000 (18:23 -0700)]
Merge pull request #1498 from Lukasa/incompleteread

Wrap IncompleteRead in ChunkedEncodingError.

11 years agoMerge pull request #1501 from sigmavirus24/remove_setting_of_hooks
Kenneth Reitz [Thu, 1 Aug 2013 01:22:58 +0000 (18:22 -0700)]
Merge pull request #1501 from sigmavirus24/remove_setting_of_hooks

Fix duplication of efforts caught by @dofelw

11 years agoMerge pull request #1506 from Lukasa/mockrequest
Kenneth Reitz [Thu, 1 Aug 2013 01:22:02 +0000 (18:22 -0700)]
Merge pull request #1506 from Lukasa/mockrequest

Provide 'host' parameter to MockRequest.

11 years agoMerge pull request #1507 from buzztabapp/prepared-session-requests
Kenneth Reitz [Thu, 1 Aug 2013 01:21:28 +0000 (18:21 -0700)]
Merge pull request #1507 from buzztabapp/prepared-session-requests

Allow preparing of Requests from Session settings without sending.

11 years agoMerge settings when creating PreparedRequest, don't copy Request.
Robert Estelle [Wed, 31 Jul 2013 20:42:02 +0000 (13:42 -0700)]
Merge settings when creating PreparedRequest, don't copy Request.