platform/upstream/python-requests.git
11 years agofix unprotected build status link
Kenneth Reitz [Thu, 17 Oct 2013 06:32:16 +0000 (02:32 -0400)]
fix unprotected build status link

11 years agoMerge remote-tracking branch 'origin/master'
Kenneth Reitz [Thu, 17 Oct 2013 05:47:39 +0000 (01:47 -0400)]
Merge remote-tracking branch 'origin/master'

11 years agotest out requests-trunk badge
Kenneth Reitz [Thu, 17 Oct 2013 05:47:00 +0000 (01:47 -0400)]
test out requests-trunk badge

11 years agoSmall grammar fix.
Cory Benfield [Wed, 16 Oct 2013 21:11:54 +0000 (22:11 +0100)]
Small grammar fix.

11 years agoMerge pull request #1675 from houqp/master
Cory Benfield [Wed, 16 Oct 2013 21:10:31 +0000 (14:10 -0700)]
Merge pull request #1675 from houqp/master

fix doc for redirction and history

11 years agofix doc for redirction and history
Qingping Hou [Wed, 16 Oct 2013 20:59:22 +0000 (16:59 -0400)]
fix doc for redirction and history

In current version of requests, allow_redirect is disabled by default
only for HEAD requests

11 years agoMerge pull request #1673 from daftshady/dev
Kenneth Reitz [Tue, 15 Oct 2013 09:47:55 +0000 (02:47 -0700)]
Merge pull request #1673 from daftshady/dev

fixed typo

11 years agofixed typo
daftshady [Tue, 15 Oct 2013 09:33:51 +0000 (18:33 +0900)]
fixed typo

11 years agoMerge pull request #1667 from Lukasa/json2
Kenneth Reitz [Sat, 12 Oct 2013 21:15:30 +0000 (14:15 -0700)]
Merge pull request #1667 from Lukasa/json2

Second time lucky for json related fixes.

11 years ago'or content' does us no good.
Cory Benfield [Sat, 12 Oct 2013 20:05:34 +0000 (21:05 +0100)]
'or content' does us no good.

11 years agoMerge pull request #1662 from voberoi/patch-1
Kenneth Reitz [Thu, 10 Oct 2013 22:45:14 +0000 (15:45 -0700)]
Merge pull request #1662 from voberoi/patch-1

Adding myself to AUTHORS.rst

11 years agoAdding myself to AUTHORS.rst
Vikram Oberoi [Thu, 10 Oct 2013 22:13:51 +0000 (18:13 -0400)]
Adding myself to AUTHORS.rst

Taking a page out of @mattspitz's book.

https://github.com/kennethreitz/requests/pull/1439

#dreamsdocometrue

11 years agoMerge pull request #1661 from mattspitz/super_len_compatibility
Kenneth Reitz [Thu, 10 Oct 2013 19:11:14 +0000 (12:11 -0700)]
Merge pull request #1661 from mattspitz/super_len_compatibility

Increasing super_len compatibilty to include BytesIO and cStringIO objects.

11 years agoAdding myself to AUTHORS.rst.
Matt Spitz [Thu, 10 Oct 2013 19:08:34 +0000 (15:08 -0400)]
Adding myself to AUTHORS.rst.

11 years agoIncreasing super_len compatibilty to include BytesIO and cStringIO objects.
Matt Spitz [Thu, 10 Oct 2013 18:54:47 +0000 (14:54 -0400)]
Increasing super_len compatibilty to include BytesIO and cStringIO objects.

Added a check for 'getvalue' attr, calling it to retrieve the length if we can.

We also try/except the fileno() call, which can throw
io.UnsupportedOperation for BytesIO because, well, they're not files.

11 years agoMerge pull request #1658 from randymorris/master
Cory Benfield [Tue, 8 Oct 2013 18:36:12 +0000 (11:36 -0700)]
Merge pull request #1658 from randymorris/master

False -> True typo

11 years agoFalse -> True typo
Randy Morris [Tue, 8 Oct 2013 18:19:30 +0000 (14:19 -0400)]
False -> True typo

11 years agoMerge pull request #1636 from Lukasa/httpsprox
Kenneth Reitz [Mon, 7 Oct 2013 23:23:18 +0000 (16:23 -0700)]
Merge pull request #1636 from Lukasa/httpsprox

Don't send the full URL on CONNECT messages.

11 years agoMerge pull request #1635 from daftshady/dev
Kenneth Reitz [Mon, 7 Oct 2013 23:22:49 +0000 (16:22 -0700)]
Merge pull request #1635 from daftshady/dev

Fixed #1630 and added test case.

11 years agoMerge pull request #1637 from Lukasa/redir
Kenneth Reitz [Mon, 7 Oct 2013 23:21:29 +0000 (16:21 -0700)]
Merge pull request #1637 from Lukasa/redir

Correctly lowercase a redirect scheme.

11 years agoMerge pull request #1640 from abarnert/master
Kenneth Reitz [Mon, 7 Oct 2013 23:21:16 +0000 (16:21 -0700)]
Merge pull request #1640 from abarnert/master

Accept per-file headers in multipart file POST messages.

11 years agoMerge pull request #1656 from randymorris/master
Cory Benfield [Mon, 7 Oct 2013 20:45:11 +0000 (13:45 -0700)]
Merge pull request #1656 from randymorris/master

Update verbiage about streaming requests

11 years agoupdate verbiage about streaming requests
Randy Morris [Mon, 7 Oct 2013 14:43:48 +0000 (10:43 -0400)]
update verbiage about streaming requests

The Twitter API is no longer used in the example.

11 years agoMerge pull request #1654 from riyadparvez/deprecation-removal
Cory Benfield [Sat, 5 Oct 2013 17:02:46 +0000 (10:02 -0700)]
Merge pull request #1654 from riyadparvez/deprecation-removal

Deprecation removal and other idiomatic updates

11 years agoback to BaseException
Riyad Parvez [Sat, 5 Oct 2013 16:49:54 +0000 (22:49 +0600)]
back to BaseException

11 years agofixed print statement
Riyad Parvez [Sat, 5 Oct 2013 14:12:18 +0000 (20:12 +0600)]
fixed print statement

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 agoAccept per-file headers in multipart file POST messages.
Andrew Barnert [Tue, 1 Oct 2013 00:07:13 +0000 (17:07 -0700)]
Accept per-file headers in multipart file POST messages.

- Each file in the `files` argument can now be a 4-tuple, instead of
  just a file, 2-tuple, or 3-tuple. If it is, the last value in the
  tuple is a dictionary of extra headers.

11 years agoadd myself to authors.
daftshady [Sat, 28 Sep 2013 17:27:20 +0000 (02:27 +0900)]
add myself to authors.

11 years agoadded param to cookiejar_from_dict instead of creating new method.
daftshady [Sat, 28 Sep 2013 16:08:58 +0000 (01:08 +0900)]
added param to cookiejar_from_dict instead of creating new method.

11 years agoCorrectly lowercase a redirect scheme.
Cory Benfield [Sat, 28 Sep 2013 16:01:32 +0000 (17:01 +0100)]
Correctly lowercase a redirect scheme.

11 years agoDon't send the full URL on CONNECT messages.
Cory Benfield [Sat, 28 Sep 2013 14:46:43 +0000 (15:46 +0100)]
Don't send the full URL on CONNECT messages.

11 years agoFixed #1630
daftshady [Sat, 28 Sep 2013 14:44:27 +0000 (23:44 +0900)]
Fixed #1630

11 years agocheckout auth
daftshady [Sat, 28 Sep 2013 07:41:08 +0000 (16:41 +0900)]
checkout auth

11 years agoFixed #1630, added test case for cookie persistence.
daftshady [Sat, 28 Sep 2013 07:33:05 +0000 (16:33 +0900)]
Fixed #1630, added test case for cookie persistence.

11 years agofixed extra bonus bug
daftshady [Fri, 27 Sep 2013 13:17:40 +0000 (22:17 +0900)]
fixed extra bonus bug

11 years agoFixed #1623. Added 'MD5-sess' algorithm to HTTPDigestAuth
daftshady [Thu, 26 Sep 2013 06:40:12 +0000 (15:40 +0900)]
Fixed #1623. Added 'MD5-sess' algorithm to HTTPDigestAuth

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.