platform/upstream/python-requests.git
10 years agoMerge pull request #1760 from akitada/fix-hangs-on-streaming-uploads
Kenneth Reitz [Mon, 25 Nov 2013 19:40:10 +0000 (11:40 -0800)]
Merge pull request #1760 from akitada/fix-hangs-on-streaming-uploads

Fix hangs on streaming uploads with HTTPDigestAuth

10 years agoMerge pull request #1754 from Lukasa/verb_change
Kenneth Reitz [Mon, 25 Nov 2013 19:40:00 +0000 (11:40 -0800)]
Merge pull request #1754 from Lukasa/verb_change

Match the HTTPbis on HTTP 301.

10 years agoFix hangs on streaming uploads with HTTPDigestAuth
Akira Kitada [Mon, 25 Nov 2013 13:29:53 +0000 (22:29 +0900)]
Fix hangs on streaming uploads with HTTPDigestAuth

When using Digest Authentication, the client resends the same request
after the server responds with the 401 "Unauthorized". However, when
doing streaming uploads, it gets stuck because the body data (a
file-like object) is already consumed at the initial request.

The patch fixes this by rewinding the file-like object before
resending the request.

10 years agoCleanup the redirect if blocks.
Cory Benfield [Sun, 24 Nov 2013 11:13:49 +0000 (11:13 +0000)]
Cleanup the redirect if blocks.

10 years agoHandle 301s 'properly'.
Cory Benfield [Sun, 24 Nov 2013 11:09:00 +0000 (11:09 +0000)]
Handle 301s 'properly'.

10 years agoMerge pull request #1747 from daftshady/lowercase
Kenneth Reitz [Wed, 20 Nov 2013 09:05:15 +0000 (01:05 -0800)]
Merge pull request #1747 from daftshady/lowercase

#1746 don't lowercase the whole url

10 years agoMerge pull request #1742 from kevinburke/docs
Kenneth Reitz [Wed, 20 Nov 2013 09:02:38 +0000 (01:02 -0800)]
Merge pull request #1742 from kevinburke/docs

Add make target to build the documentation

10 years agoMerge pull request #1733 from ionrock/pickleable-responses
Kenneth Reitz [Wed, 20 Nov 2013 09:01:26 +0000 (01:01 -0800)]
Merge pull request #1733 from ionrock/pickleable-responses

Response and Request objects are pickleable.

10 years agoMerge pull request #1745 from nonm/master
Kenneth Reitz [Wed, 20 Nov 2013 08:58:21 +0000 (00:58 -0800)]
Merge pull request #1745 from nonm/master

Small fix broken cookie parse

10 years agouse geturl to lower scheme
daftshady [Tue, 19 Nov 2013 10:54:46 +0000 (19:54 +0900)]
use geturl to lower scheme

10 years agoissue #1746 : Don't lowercase the whole URL!
daftshady [Tue, 19 Nov 2013 09:59:22 +0000 (18:59 +0900)]
issue #1746 : Don't lowercase the whole URL!

10 years agoSmall fix broken cookie parse
nonm [Mon, 18 Nov 2013 21:32:59 +0000 (13:32 -0800)]
Small fix broken cookie parse

10 years agowording
Kevin Burke [Mon, 18 Nov 2013 02:39:01 +0000 (18:39 -0800)]
wording

10 years agoAdd target to build the documentation
Kevin Burke [Mon, 18 Nov 2013 02:38:15 +0000 (18:38 -0800)]
Add target to build the documentation

10 years agoMerge pull request #1739 from pengfei-xue/devel
Kenneth Reitz [Fri, 15 Nov 2013 18:51:47 +0000 (10:51 -0800)]
Merge pull request #1739 from pengfei-xue/devel

add coverage make target

10 years agoadd coverage make target
Pengfei Xue [Fri, 15 Nov 2013 10:00:18 +0000 (18:00 +0800)]
add coverage make target

10 years agoMerge pull request #1735 from Lukasa/wheel
Kenneth Reitz [Fri, 15 Nov 2013 09:33:38 +0000 (01:33 -0800)]
Merge pull request #1735 from Lukasa/wheel

Wheel

10 years agoMerge pull request #1717 from jvantuyl/master
Kenneth Reitz [Fri, 15 Nov 2013 09:33:03 +0000 (01:33 -0800)]
Merge pull request #1717 from jvantuyl/master

loosen URL handling for non-native URL schemes

10 years agoloosen URL handling for non-native URL schemes
Jayson Vantuyl [Wed, 30 Oct 2013 08:35:54 +0000 (01:35 -0700)]
loosen URL handling for non-native URL schemes

10 years agoAdd wheel to dev requirements.
Cory Benfield [Thu, 14 Nov 2013 13:23:45 +0000 (13:23 +0000)]
Add wheel to dev requirements.

10 years agoWheel support.
Cory Benfield [Wed, 13 Nov 2013 19:09:49 +0000 (19:09 +0000)]
Wheel support.

11 years agoResponse and Request objects are pickleable.
Eric Larson [Thu, 7 Nov 2013 02:01:27 +0000 (20:01 -0600)]
Response and Request objects are pickleable.

Includes a basic test. More could be add to confirm known attributes
that could cause problems.

11 years agoMerge pull request #1660 from sigmavirus24/parse-cookies-when-users-set-host-header
Kenneth Reitz [Wed, 6 Nov 2013 19:19:31 +0000 (11:19 -0800)]
Merge pull request #1660 from sigmavirus24/parse-cookies-when-users-set-host-header

Parse cookies when users set custom Host header

11 years agoMerge pull request #1724 from daftshady/dev3
Kenneth Reitz [Mon, 4 Nov 2013 21:58:12 +0000 (13:58 -0800)]
Merge pull request #1724 from daftshady/dev3

Fixed #1723

11 years agoMerge pull request #1726 from t-8ch/update_urllib3
Kenneth Reitz [Mon, 4 Nov 2013 21:55:58 +0000 (13:55 -0800)]
Merge pull request #1726 from t-8ch/update_urllib3

Update urllib3

11 years agoadd myself to AUTHORS.rst
Thomas Weißschuh [Mon, 4 Nov 2013 18:54:42 +0000 (18:54 +0000)]
add myself to AUTHORS.rst

11 years agoupate urllib3 to a0c986a24d
Thomas Weißschuh [Mon, 4 Nov 2013 18:53:41 +0000 (18:53 +0000)]
upate urllib3 to a0c986a24d

11 years agomoved logic to Session object and added test case
daftshady [Mon, 4 Nov 2013 13:32:17 +0000 (22:32 +0900)]
moved logic to Session object and added test case

11 years agofixed #1723
daftshady [Mon, 4 Nov 2013 09:32:45 +0000 (18:32 +0900)]
fixed #1723

11 years agoMerge pull request #1722 from schinckel/patch-1
Ian Cordasco [Mon, 4 Nov 2013 02:16:21 +0000 (18:16 -0800)]
Merge pull request #1722 from schinckel/patch-1

Fix documentation typo.

11 years agoFix documentation typo.
Matthew Schinckel [Mon, 4 Nov 2013 01:59:24 +0000 (12:29 +1030)]
Fix documentation typo.

11 years agoCapitalisation.
Cory Benfield [Fri, 1 Nov 2013 11:14:05 +0000 (11:14 +0000)]
Capitalisation.

11 years agoMerge pull request #1720 from Lukasa/docs
Cory Benfield [Fri, 1 Nov 2013 09:21:01 +0000 (02:21 -0700)]
Merge pull request #1720 from Lukasa/docs

Chardet -> charade.

11 years agoChardet -> charade.
Cory Benfield [Fri, 1 Nov 2013 09:20:22 +0000 (09:20 +0000)]
Chardet -> charade.

11 years agoRevert "Merge pull request #1710 from jvantuyl/master"
Kenneth Reitz [Wed, 30 Oct 2013 19:32:19 +0000 (15:32 -0400)]
Revert "Merge pull request #1710 from jvantuyl/master"

This reverts commit a8300c0ae6dd7e6b1655cf80b349e0bf645ff694, reversing
changes made to 2e196be143035fa6d03743d6ca95a2904572f12a.

11 years agoMerge pull request #1710 from jvantuyl/master
Kenneth Reitz [Wed, 30 Oct 2013 17:17:26 +0000 (10:17 -0700)]
Merge pull request #1710 from jvantuyl/master

loosen URL handling for non-native protocols

11 years agodon't prepare URLs for oddball schemes
Jayson Vantuyl [Wed, 30 Oct 2013 08:35:54 +0000 (01:35 -0700)]
don't prepare URLs for oddball schemes

11 years agoMerge pull request #1709 from samuelhug/test-branch
Kenneth Reitz [Mon, 28 Oct 2013 17:40:52 +0000 (10:40 -0700)]
Merge pull request #1709 from samuelhug/test-branch

Fix for AppEngine

11 years agofurther cleanup examples
Kenneth Reitz [Mon, 28 Oct 2013 17:39:04 +0000 (13:39 -0400)]
further cleanup examples

11 years agoMerge remote-tracking branch 'origin/master'
Kenneth Reitz [Mon, 28 Oct 2013 17:36:08 +0000 (13:36 -0400)]
Merge remote-tracking branch 'origin/master'

11 years agofix @lukasa's lack of taste :)
Kenneth Reitz [Mon, 28 Oct 2013 17:36:04 +0000 (13:36 -0400)]
fix @lukasa's lack of taste :)

#1702

11 years agoMerge pull request #1702 from Lukasa/docs_n_stuff
Kenneth Reitz [Mon, 28 Oct 2013 17:34:07 +0000 (10:34 -0700)]
Merge pull request #1702 from Lukasa/docs_n_stuff

Improve the PreparedRequest docs.

11 years agoMerge pull request #1706 from daftshady/dev2
Kenneth Reitz [Mon, 28 Oct 2013 17:32:21 +0000 (10:32 -0700)]
Merge pull request #1706 from daftshady/dev2

restoring pull request fixing #1623

11 years agoMerge pull request #1707 from canibanoglu/tests
Kenneth Reitz [Mon, 28 Oct 2013 17:32:09 +0000 (10:32 -0700)]
Merge pull request #1707 from canibanoglu/tests

Modified the tests so that they use py.test convention

11 years agoMerge pull request #1708 from alex/patch-2
Kenneth Reitz [Mon, 28 Oct 2013 17:31:59 +0000 (10:31 -0700)]
Merge pull request #1708 from alex/patch-2

close files in setup.py

11 years agoFix for AppEngine
Samuel Hug [Mon, 28 Oct 2013 16:51:56 +0000 (09:51 -0700)]
Fix for AppEngine

11 years agoclose files in setup.py
Alex Gaynor [Sat, 26 Oct 2013 23:43:08 +0000 (16:43 -0700)]
close files in setup.py

otherwise python3.4 warns

11 years agoModified the tests so that they use py.test convention
Can Ibanoglu [Sat, 26 Oct 2013 10:38:11 +0000 (13:38 +0300)]
Modified the tests so that they use py.test convention

11 years agosecond commit : Fixed #1623. Added 'MD5-sess' algorithm to HTTPDigestAuth
daftshady [Sat, 26 Oct 2013 09:14:19 +0000 (18:14 +0900)]
second commit : Fixed #1623. Added 'MD5-sess' algorithm to HTTPDigestAuth

11 years agoclean up sidebar
Kenneth Reitz [Thu, 24 Oct 2013 22:09:12 +0000 (18:09 -0400)]
clean up sidebar

11 years agoget support
Kenneth Reitz [Thu, 24 Oct 2013 22:07:47 +0000 (18:07 -0400)]
get support

11 years agotry gumroad overlay
Kenneth Reitz [Thu, 24 Oct 2013 22:05:24 +0000 (18:05 -0400)]
try gumroad overlay

11 years agoprojects
Kenneth Reitz [Thu, 24 Oct 2013 22:01:50 +0000 (18:01 -0400)]
projects

11 years ago"get updates"
Kenneth Reitz [Thu, 24 Oct 2013 22:00:52 +0000 (18:00 -0400)]
"get updates"

11 years agonewsletter
Kenneth Reitz [Thu, 24 Oct 2013 21:58:30 +0000 (17:58 -0400)]
newsletter

11 years agoImprove the PreparedRequest docs.
Cory Benfield [Thu, 24 Oct 2013 20:14:46 +0000 (21:14 +0100)]
Improve the PreparedRequest docs.

11 years agoMerge remote-tracking branch 'origin/master'
Kenneth Reitz [Thu, 24 Oct 2013 14:54:48 +0000 (10:54 -0400)]
Merge remote-tracking branch 'origin/master'

11 years agobuild status isn't useful anyway
Kenneth Reitz [Thu, 24 Oct 2013 14:54:45 +0000 (10:54 -0400)]
build status isn't useful anyway

11 years agoMerge pull request #1689 from Lukasa/unicode
Kenneth Reitz [Thu, 24 Oct 2013 14:38:52 +0000 (07:38 -0700)]
Merge pull request #1689 from Lukasa/unicode

Use builtin_str for all auto-set header values.

11 years agoMerge pull request #1693 from kevinburke/schema-message
Kenneth Reitz [Thu, 24 Oct 2013 14:35:40 +0000 (07:35 -0700)]
Merge pull request #1693 from kevinburke/schema-message

Add clarification to MissingSchema error

11 years agourllib3/chardet note in release for v2.0.1
Kenneth Reitz [Thu, 24 Oct 2013 14:32:05 +0000 (10:32 -0400)]
urllib3/chardet note in release for v2.0.1

11 years agoupdate internal dependencies
Kenneth Reitz [Thu, 24 Oct 2013 14:31:05 +0000 (10:31 -0400)]
update internal dependencies

11 years agoMerge pull request #1700 from kennethreitz/v2.0.1
Kenneth Reitz [Thu, 24 Oct 2013 14:29:11 +0000 (07:29 -0700)]
Merge pull request #1700 from kennethreitz/v2.0.1

v2.0.1

11 years agomore release notes for v2.0.1
Kenneth Reitz [Thu, 24 Oct 2013 14:28:30 +0000 (10:28 -0400)]
more release notes for v2.0.1

11 years agorelease notes
Kenneth Reitz [Thu, 24 Oct 2013 14:26:47 +0000 (10:26 -0400)]
release notes

11 years agov2.0.1
Kenneth Reitz [Thu, 24 Oct 2013 14:00:49 +0000 (10:00 -0400)]
v2.0.1

11 years ago$ make ci
Kenneth Reitz [Thu, 24 Oct 2013 13:54:14 +0000 (09:54 -0400)]
$ make ci

11 years agoreplace invoke with makefiles
Kenneth Reitz [Thu, 24 Oct 2013 13:53:00 +0000 (09:53 -0400)]
replace invoke with makefiles

11 years agoremove travis support
Kenneth Reitz [Thu, 24 Oct 2013 13:47:31 +0000 (09:47 -0400)]
remove travis support

11 years agoMerge pull request #1699 from kennethreitz/cert-update
Kenneth Reitz [Thu, 24 Oct 2013 13:44:26 +0000 (06:44 -0700)]
Merge pull request #1699 from kennethreitz/cert-update

Latest Mozilla Certs

11 years agoLatest Mozilla Certs
Kenneth Reitz [Thu, 24 Oct 2013 13:40:39 +0000 (09:40 -0400)]
Latest Mozilla Certs

generated via https://github.com/tiran/extract-nss-root-certs

11 years agoMerge pull request #1696 from canibanoglu/remove-parentheses
Kenneth Reitz [Thu, 24 Oct 2013 11:10:14 +0000 (04:10 -0700)]
Merge pull request #1696 from canibanoglu/remove-parentheses

Removed extra extra parentheses in SessionRedirectMixin.resolve_redirects

11 years agoMerge pull request #1697 from canibanoglu/docstring-PreparedRequest
Cory Benfield [Tue, 22 Oct 2013 21:19:47 +0000 (14:19 -0700)]
Merge pull request #1697 from canibanoglu/docstring-PreparedRequest

Deleted the extra word in PreparedRequest.prepare's docstring

11 years agoDeleted the extra word in PreparedRequest.prepare's docstring
Can Ibanoglu [Tue, 22 Oct 2013 21:15:41 +0000 (00:15 +0300)]
Deleted the extra word in PreparedRequest.prepare's docstring

11 years agoRemoved extra extra parentheses in SessionRedirectMixin.resolve_redirects
Can Ibanoglu [Tue, 22 Oct 2013 20:48:04 +0000 (23:48 +0300)]
Removed extra extra parentheses in SessionRedirectMixin.resolve_redirects

11 years agoRemove requests.*() from docs.
Cory Benfield [Mon, 21 Oct 2013 10:57:06 +0000 (11:57 +0100)]
Remove requests.*() from docs.

This looks like a typo, even though it isn't.

11 years agoMerge pull request #1695 from sigmavirus24/docs
Cory Benfield [Mon, 21 Oct 2013 08:31:50 +0000 (01:31 -0700)]
Merge pull request #1695 from sigmavirus24/docs

Add bit to docs about iter_content

11 years agoAdd bit to docs about iter_content
Ian Cordasco [Sun, 20 Oct 2013 17:29:43 +0000 (12:29 -0500)]
Add bit to docs about iter_content

11 years agouse .format()
Kevin Burke [Sun, 20 Oct 2013 17:17:54 +0000 (10:17 -0700)]
use .format()

11 years agoAdd clarification to MissingSchema error
Kevin Burke [Sun, 20 Oct 2013 07:46:41 +0000 (00:46 -0700)]
Add clarification to MissingSchema error

11 years agoUse builtin_str for all auto-set header values.
Cory Benfield [Fri, 18 Oct 2013 17:34:29 +0000 (18:34 +0100)]
Use builtin_str for all auto-set header values.

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

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 agoUpdate README.rst
Kenneth Reitz [Thu, 17 Oct 2013 05:51:50 +0000 (01:51 -0400)]
Update README.rst

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 agoFix typo
Ian Cordasco [Sat, 12 Oct 2013 01:42:52 +0000 (20:42 -0500)]
Fix typo

11 years agoComment our reasonsing for the special cases
Ian Cordasco [Fri, 11 Oct 2013 01:43:18 +0000 (20:43 -0500)]
Comment our reasonsing for the special cases

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.