services/python-requests.git
11 years agoindentation change for code review
Ben Bass [Sun, 8 Jun 2014 14:23:37 +0000 (15:23 +0100)]
indentation change for code review

11 years agoallow pool_kwargs to be specified in init_poolmanager
Ben Bass [Sun, 18 May 2014 19:24:35 +0000 (20:24 +0100)]
allow pool_kwargs to be specified in init_poolmanager

11 years agoimprove `proxy_manager_for` re-usability by subclass
Ben Bass [Sun, 18 May 2014 19:10:35 +0000 (20:10 +0100)]
improve `proxy_manager_for` re-usability by subclass

11 years agoupdate AUTHORS.rst
Ben Bass [Sat, 17 May 2014 22:22:15 +0000 (23:22 +0100)]
update AUTHORS.rst

11 years agoFactor out HTTPAdapter.proxy_manager_for for #2048
Ben Bass [Sat, 17 May 2014 22:15:51 +0000 (23:15 +0100)]
Factor out HTTPAdapter.proxy_manager_for for #2048

11 years agoMerge pull request #2047 from Hasimir/master
Cory Benfield [Sat, 17 May 2014 15:37:31 +0000 (16:37 +0100)]
Merge pull request #2047 from Hasimir/master

Fixed paragraph formatting in Urllib3/MIT License.

11 years agoFixed paragraph formatting in Urllib3/MIT License.
Ben McGinnes [Sat, 17 May 2014 15:16:27 +0000 (01:16 +1000)]
Fixed paragraph formatting in Urllib3/MIT License.

11 years agoMerge pull request #2046 from alex/patch-2
Ian Cordasco [Fri, 16 May 2014 21:05:41 +0000 (16:05 -0500)]
Merge pull request #2046 from alex/patch-2

Fixed a typo

11 years agoignot dist
Kenneth Reitz [Fri, 16 May 2014 19:30:48 +0000 (15:30 -0400)]
ignot dist

11 years agoFixed a typo
Alex Gaynor [Fri, 16 May 2014 18:11:05 +0000 (14:11 -0400)]
Fixed a typo

11 years agov2.3.0 v2.3.0
Kenneth Reitz [Fri, 16 May 2014 17:55:47 +0000 (13:55 -0400)]
v2.3.0

11 years agohistory update
Kenneth Reitz [Fri, 16 May 2014 17:55:06 +0000 (13:55 -0400)]
history update

11 years agoMerge remote-tracking branch 'origin/master'
Kenneth Reitz [Fri, 16 May 2014 17:44:21 +0000 (13:44 -0400)]
Merge remote-tracking branch 'origin/master'

11 years agoMerge pull request #2040 from Lukasa/clog
Kenneth Reitz [Fri, 16 May 2014 14:37:32 +0000 (10:37 -0400)]
Merge pull request #2040 from Lukasa/clog

Initial 2.3.0 changelog.

11 years agoMerge pull request #2041 from pawroman/patch-1
Cory Benfield [Tue, 13 May 2014 10:31:24 +0000 (11:31 +0100)]
Merge pull request #2041 from pawroman/patch-1

Fix typo in advanced.rst docs

11 years agoFix typo in advanced.rst docs
Paweł Romanowski [Tue, 13 May 2014 08:11:40 +0000 (10:11 +0200)]
Fix typo in advanced.rst docs

`Sesssion` -> `Session`

11 years agoMerge pull request #1944 from schlamar/redirect-decoding
Kenneth Reitz [Mon, 12 May 2014 20:50:33 +0000 (16:50 -0400)]
Merge pull request #1944 from schlamar/redirect-decoding

Catch errors while handling redirects

11 years agoAdded test for redirect with wrong gzipped header.
schlamar [Sat, 15 Mar 2014 20:29:14 +0000 (21:29 +0100)]
Added test for redirect with wrong gzipped header.

11 years agoAdded test case to handle response of streamed redirects.
schlamar [Thu, 13 Mar 2014 17:27:12 +0000 (18:27 +0100)]
Added test case to handle response of streamed redirects.

Credits go to @zackw.

11 years agoRead content in Session.send instead of Adapter.send.
schlamar [Mon, 10 Mar 2014 07:07:10 +0000 (08:07 +0100)]
Read content in Session.send instead of Adapter.send.

11 years agoCatch possible exceptions while consuming content of redirect responses.
schlamar [Mon, 10 Mar 2014 06:54:22 +0000 (07:54 +0100)]
Catch possible exceptions while consuming content of redirect responses.

11 years agoInitial 2.3.0 changelog.
Cory Benfield [Mon, 12 May 2014 19:27:10 +0000 (20:27 +0100)]
Initial 2.3.0 changelog.

11 years agoCaseInsensitiveDict now looks like a normal dict
Kenneth Reitz [Mon, 12 May 2014 19:10:15 +0000 (15:10 -0400)]
CaseInsensitiveDict now looks like a normal dict

11 years agoMerge pull request #1972 from avidas/response_str
Kenneth Reitz [Mon, 12 May 2014 19:08:31 +0000 (15:08 -0400)]
Merge pull request #1972 from avidas/response_str

Add __str__ to case insensitive dict

11 years agoMerge pull request #1924 from schlamar/proxy-default-scheme
Kenneth Reitz [Mon, 12 May 2014 19:05:56 +0000 (15:05 -0400)]
Merge pull request #1924 from schlamar/proxy-default-scheme

Default proxy scheme to HTTP

11 years agoMerge pull request #1937 from jaraco/master
Kenneth Reitz [Mon, 12 May 2014 19:04:35 +0000 (15:04 -0400)]
Merge pull request #1937 from jaraco/master

Improved decoding support for Response.iter_content and iter_lines

11 years agoMerge pull request #2038 from dstufft/update-urllib3
Kenneth Reitz [Mon, 12 May 2014 18:50:36 +0000 (14:50 -0400)]
Merge pull request #2038 from dstufft/update-urllib3

Update urllib3 to 4fb351cd2

11 years agoUpdate urllib3 to 4fb351cd2
Donald Stufft [Mon, 12 May 2014 18:43:50 +0000 (14:43 -0400)]
Update urllib3 to 4fb351cd2

11 years agoRemove references to not-yet-made 2.3.0 release.
Cory Benfield [Sat, 3 May 2014 09:59:14 +0000 (10:59 +0100)]
Remove references to not-yet-made 2.3.0 release.

11 years agoMerge pull request #2026 from Lukasa/updateurllib3
Kenneth Reitz [Fri, 2 May 2014 19:09:39 +0000 (15:09 -0400)]
Merge pull request #2026 from Lukasa/updateurllib3

ImportError: No module named 'requests.packages.urllib3.util'

11 years agoMerge pull request #2032 from dstufft/patch-1
Kenneth Reitz [Fri, 2 May 2014 19:09:21 +0000 (15:09 -0400)]
Merge pull request #2032 from dstufft/patch-1

Remove the easy_install section

11 years agoRemove the easy_install section
Donald Stufft [Fri, 2 May 2014 16:51:50 +0000 (12:51 -0400)]
Remove the easy_install section

There's not a lot of good reason to actually call out easy_install at all.
Anyone who prefers it already knows it exists and everyone else should be
directed unambiguously towards pip.

11 years agoAdd urllib3 util package to setup.py.
Cory Benfield [Tue, 29 Apr 2014 17:50:38 +0000 (18:50 +0100)]
Add urllib3 util package to setup.py.

11 years agoMerge pull request #2021 from Lukasa/proxies2
Kenneth Reitz [Mon, 28 Apr 2014 21:49:27 +0000 (17:49 -0400)]
Merge pull request #2021 from Lukasa/proxies2

Don't repopulate proxies if we don't trust the environment.

11 years agoClearer description of Response.close().
Cory Benfield [Mon, 28 Apr 2014 18:42:30 +0000 (19:42 +0100)]
Clearer description of Response.close().

11 years agosidebar update
Kenneth Reitz [Sat, 26 Apr 2014 13:28:05 +0000 (09:28 -0400)]
sidebar update

11 years agosidebar update
Kenneth Reitz [Sat, 26 Apr 2014 13:27:06 +0000 (09:27 -0400)]
sidebar update

11 years agoDon't repopulate proxies if we don't trust the env.
Cory Benfield [Sat, 26 Apr 2014 12:05:01 +0000 (13:05 +0100)]
Don't repopulate proxies if we don't trust the env.

11 years agoMerge pull request #2017 from Ayper/master
Kenneth Reitz [Sat, 26 Apr 2014 03:04:54 +0000 (23:04 -0400)]
Merge pull request #2017 from Ayper/master

Update urllib to 1.8.2

11 years agoUpdate urllib to 1.8.2
apr [Thu, 24 Apr 2014 18:43:26 +0000 (14:43 -0400)]
Update urllib to 1.8.2

11 years agoMerge pull request #2010 from Lukasa/philosophy
Kenneth Reitz [Mon, 21 Apr 2014 16:25:01 +0000 (12:25 -0400)]
Merge pull request #2010 from Lukasa/philosophy

[WIP] Update philosophy section

11 years agoFirst pass at update to philosophy section.
Cory Benfield [Fri, 18 Apr 2014 16:28:12 +0000 (17:28 +0100)]
First pass at update to philosophy section.

11 years agoWe're awesome, but don't need to be here twice.
Cory Benfield [Fri, 18 Apr 2014 16:15:45 +0000 (17:15 +0100)]
We're awesome, but don't need to be here twice.

11 years agoMerge pull request #2009 from sigmavirus24/fix-my-name
Cory Benfield [Fri, 18 Apr 2014 16:13:17 +0000 (17:13 +0100)]
Merge pull request #2009 from sigmavirus24/fix-my-name

Fix my name

11 years agoFix my name
Ian Cordasco [Fri, 18 Apr 2014 15:35:44 +0000 (10:35 -0500)]
Fix my name

11 years agoMerge pull request #2005 from ap-Codkelden/master
Kenneth Reitz [Wed, 16 Apr 2014 19:37:29 +0000 (15:37 -0400)]
Merge pull request #2005 from ap-Codkelden/master

SVG logo version

11 years agoSVG logo version (with fonts converted to curves)
ap-Codkelden@github.com [Wed, 16 Apr 2014 15:11:35 +0000 (18:11 +0300)]
SVG logo version (with fonts converted to curves)

11 years agoRevert "Font layer convert to curves"
Kenneth Reitz [Wed, 16 Apr 2014 14:58:30 +0000 (10:58 -0400)]
Revert "Font layer convert to curves"

This reverts commit af21ec6165c40c0c12f8dccc8379eb97de53da20.

11 years agoMerge pull request #1999 from ap-Codkelden/master
Kenneth Reitz [Wed, 16 Apr 2014 14:56:44 +0000 (10:56 -0400)]
Merge pull request #1999 from ap-Codkelden/master

Font layer in logo convert to curves

11 years ago@sigmavirus42
Kenneth Reitz [Tue, 15 Apr 2014 23:15:39 +0000 (19:15 -0400)]
@sigmavirus42

11 years agogithub urls
Kenneth Reitz [Tue, 15 Apr 2014 23:11:58 +0000 (19:11 -0400)]
github urls

11 years agoMerge remote-tracking branch 'origin/master'
Kenneth Reitz [Tue, 15 Apr 2014 23:07:52 +0000 (19:07 -0400)]
Merge remote-tracking branch 'origin/master'

11 years agocore contributors
Kenneth Reitz [Tue, 15 Apr 2014 23:07:41 +0000 (19:07 -0400)]
core contributors

11 years ago12,000,000
Kenneth Reitz [Tue, 15 Apr 2014 23:01:41 +0000 (19:01 -0400)]
12,000,000

11 years agoFont layer convert to curves
ap-Codkelden@github.com [Sat, 12 Apr 2014 18:13:52 +0000 (21:13 +0300)]
Font layer convert to curves

11 years agoMerge pull request #1998 from Kapishin/master
Cory Benfield [Thu, 10 Apr 2014 05:46:05 +0000 (06:46 +0100)]
Merge pull request #1998 from Kapishin/master

Fix typo

11 years agoFix typo
Pavlo Kapyshin [Thu, 10 Apr 2014 03:09:36 +0000 (06:09 +0300)]
Fix typo

11 years agoMerge pull request #1991 from gutworth/patch-1
Kenneth Reitz [Tue, 8 Apr 2014 14:19:39 +0000 (10:19 -0400)]
Merge pull request #1991 from gutworth/patch-1

replace reference to crate.io

11 years agoReinstate '$'.
Cory Benfield [Sat, 5 Apr 2014 16:29:00 +0000 (17:29 +0100)]
Reinstate '$'.

11 years agodelete pypi mirror section
Benjamin Peterson [Sat, 5 Apr 2014 15:57:43 +0000 (11:57 -0400)]
delete pypi mirror section

11 years agoMake it more clear where install commands are run (so that newbies don't run them...
Ionel Cristian Mărieș [Sat, 5 Apr 2014 13:40:13 +0000 (16:40 +0300)]
Make it more clear where install commands are run (so that newbies don't run them in the REPL, I've seen it happen :).

11 years agoreplace reference to crate.io
Benjamin Peterson [Sat, 5 Apr 2014 03:58:18 +0000 (23:58 -0400)]
replace reference to crate.io

crate.io is gone, so a different mirror should be used as an example. Also, the list of PyPI mirrors should be mentioned.

11 years agoMerge pull request #1989 from sigmavirus24/HISTORY-updates
Cory Benfield [Thu, 3 Apr 2014 05:51:07 +0000 (06:51 +0100)]
Merge pull request #1989 from sigmavirus24/HISTORY-updates

Make note of the fact that we fixed some CVEs

11 years agoMake note of the fact that we fixed some CVEs
Ian Cordasco [Thu, 3 Apr 2014 00:04:58 +0000 (19:04 -0500)]
Make note of the fact that we fixed some CVEs

11 years agoMerge pull request #1959 from Feng23/master
Kenneth Reitz [Mon, 31 Mar 2014 14:30:36 +0000 (10:30 -0400)]
Merge pull request #1959 from Feng23/master

support request tuple data

11 years agoMerge pull request #1981 from stanhu/master
Kenneth Reitz [Mon, 31 Mar 2014 14:29:30 +0000 (10:29 -0400)]
Merge pull request #1981 from stanhu/master

Update urllib to 1.8 (8a8c601bee)

11 years agoUpdate urllib to 1.8 (8a8c601bee)
Stan Hu [Fri, 28 Mar 2014 23:37:54 +0000 (16:37 -0700)]
Update urllib to 1.8 (8a8c601bee)

11 years agosupport request tuple data
Feng Liu [Fri, 14 Mar 2014 08:24:25 +0000 (16:24 +0800)]
support request tuple data

rewrite the TestModels

Ajust the code

11 years agoMerge pull request #1976 from kennethreitz/fix-redirect-test
Kenneth Reitz [Wed, 26 Mar 2014 15:34:36 +0000 (11:34 -0400)]
Merge pull request #1976 from kennethreitz/fix-redirect-test

The expected value changed for the proxies keyword

11 years agoThe expected value changes for the proxies keyword
Ian Cordasco [Wed, 26 Mar 2014 13:12:31 +0000 (08:12 -0500)]
The expected value changes for the proxies keyword

It used to be None but a recent PR changed that before my last one was merged

11 years agoMerge pull request #1962 from sigmavirus24/fix-history-type
Kenneth Reitz [Mon, 24 Mar 2014 15:45:06 +0000 (11:45 -0400)]
Merge pull request #1962 from sigmavirus24/fix-history-type

Fix #1960: A Response's history should be a list

11 years agoMerge pull request #1963 from sigmavirus24/fix-redirect-methods
Kenneth Reitz [Mon, 24 Mar 2014 15:44:14 +0000 (11:44 -0400)]
Merge pull request #1963 from sigmavirus24/fix-redirect-methods

Fix #1955: Do not use original request in redirect

11 years agoMerge remote-tracking branch 'origin/master'
Kenneth Reitz [Mon, 24 Mar 2014 15:39:20 +0000 (11:39 -0400)]
Merge remote-tracking branch 'origin/master'

11 years ago3.4
Kenneth Reitz [Mon, 24 Mar 2014 15:39:15 +0000 (11:39 -0400)]
3.4

11 years agoShorten str for case insensitive dict
Avi Das [Sun, 23 Mar 2014 16:38:37 +0000 (11:38 -0500)]
Shorten str for case insensitive dict

11 years agoMerge pull request #1951 from Lukasa/proxyauth
Kenneth Reitz [Sun, 23 Mar 2014 14:51:48 +0000 (10:51 -0400)]
Merge pull request #1951 from Lukasa/proxyauth

Re-evaluate proxy authorization.

11 years agoFix parenthesis typo
Avi Das [Sat, 22 Mar 2014 21:30:22 +0000 (16:30 -0500)]
Fix parenthesis typo

11 years agoStyle changes thanks to @sigmavirus24.
Cory Benfield [Sat, 22 Mar 2014 21:11:33 +0000 (21:11 +0000)]
Style changes thanks to @sigmavirus24.

11 years agoAdd __str__ to case insensitive dict. Logging headers for debugging purposes is often...
Avi Das [Sat, 22 Mar 2014 20:42:23 +0000 (15:42 -0500)]
Add __str__ to case insensitive dict. Logging headers for debugging purposes is often necessary, and the currently logging the headers would be using __repr__ which would log the implementation detail of headers, caseinsensitivedict. Adding str lends a more printing and log friendly implementation for case insentitice dict

11 years agoActually assign history
Ian Cordasco [Sat, 15 Mar 2014 17:48:29 +0000 (12:48 -0500)]
Actually assign history

11 years agoFix #1955: Do not use original request in redirect
Ian Cordasco [Sat, 15 Mar 2014 16:38:13 +0000 (11:38 -0500)]
Fix #1955: Do not use original request in redirect

The original request was never being properly overriden in resolve_redirects.
As such being having a POST request respond with a 303 would generate a GET
request. If the GET request encountered another redirect to something like a
307, then it would use the original request and generate another POST request.

There are two parts to this fix:

- The fix itself
- The test infrastructure to ensure it does not regress because HTTPBin is
  insufficient

11 years agoFix #1960: A Response's history should be a list
Ian Cordasco [Sat, 15 Mar 2014 15:33:00 +0000 (10:33 -0500)]
Fix #1960: A Response's history should be a list

11 years agoTest stripping standard auth.
Cory Benfield [Wed, 12 Mar 2014 21:53:07 +0000 (21:53 +0000)]
Test stripping standard auth.

11 years agoRemove some extraneous comments to please KR.
Cory Benfield [Wed, 12 Mar 2014 21:21:14 +0000 (21:21 +0000)]
Remove some extraneous comments to please KR.

11 years agoMerge pull request #1916 from schlamar/accept-encoding
Kenneth Reitz [Wed, 12 Mar 2014 20:37:27 +0000 (16:37 -0400)]
Merge pull request #1916 from schlamar/accept-encoding

Fix Accept-Encoding in default headers

11 years agoMerge pull request #1949 from Lukasa/pickle
Kenneth Reitz [Wed, 12 Mar 2014 20:18:58 +0000 (16:18 -0400)]
Merge pull request #1949 from Lukasa/pickle

Pickled Responses should include a None value for the raw attribute

11 years agoAdd method for rebuilding proxy configuration.
Cory Benfield [Wed, 12 Mar 2014 19:22:40 +0000 (19:22 +0000)]
Add method for rebuilding proxy configuration.

This includes auth.

11 years agoMove auth rebuild to its own method.
Cory Benfield [Wed, 12 Mar 2014 19:22:11 +0000 (19:22 +0000)]
Move auth rebuild to its own method.

11 years agoSplit get_environ_proxies into two methods.
Cory Benfield [Wed, 12 Mar 2014 19:20:12 +0000 (19:20 +0000)]
Split get_environ_proxies into two methods.

This makes it possible to get at the no_proxy logic separately.

11 years agoEnsure that .raw() is present after unpickling.
Cory Benfield [Wed, 12 Mar 2014 18:34:43 +0000 (18:34 +0000)]
Ensure that .raw() is present after unpickling.

Some people will assume that .raw() is present, and they shouldn't get
AttributeErrors when they make that assumption on a pickled Response.
However, @kennethreitz has asked that we not be too dependent on
urllib3. For that reason, set to None.

11 years agoRemoved compress from accepted encodings.
schlamar [Wed, 12 Mar 2014 11:10:53 +0000 (12:10 +0100)]
Removed compress from accepted encodings.

11 years agoAdd tests for decode_unicode
Jason R. Coombs [Tue, 4 Mar 2014 22:46:58 +0000 (17:46 -0500)]
Add tests for decode_unicode

11 years agoAlways honor decode_unicode, even when _content is present.
Jason R. Coombs [Tue, 4 Mar 2014 21:33:40 +0000 (16:33 -0500)]
Always honor decode_unicode, even when _content is present.

--HG--
extra : amend_source : 25977a1227b163d49bf2e1aec6aa448e5cd3be8a

11 years agoAdd documentation about decode_unicode.
Jason R. Coombs [Tue, 4 Mar 2014 21:27:13 +0000 (16:27 -0500)]
Add documentation about decode_unicode.

11 years agoTimeout documentation changes.
Cory Benfield [Mon, 3 Mar 2014 20:23:59 +0000 (20:23 +0000)]
Timeout documentation changes.

11 years agoMerge pull request #1935 from cjstapleton/master
Kenneth Reitz [Mon, 3 Mar 2014 18:14:37 +0000 (13:14 -0500)]
Merge pull request #1935 from cjstapleton/master

Add timeout to stream with testing

11 years agoMerge pull request #1921 from sigmavirus24/fix-session-header-none
Kenneth Reitz [Mon, 3 Mar 2014 18:13:13 +0000 (13:13 -0500)]
Merge pull request #1921 from sigmavirus24/fix-session-header-none

Do not set headers with None value

11 years agoMerge pull request #1934 from kennethreitz/update-notice
Cory Benfield [Sun, 2 Mar 2014 09:34:55 +0000 (09:34 +0000)]
Merge pull request #1934 from kennethreitz/update-notice

Charade -> Chardet and Add cacert.pem license

11 years agoRemove unnecessary bits from cacert notice section
Ian Cordasco [Sat, 1 Mar 2014 17:15:14 +0000 (11:15 -0600)]
Remove unnecessary bits from cacert notice section

11 years agoFix styling issues with add timeout to stream with testing
cjstapleton [Sat, 1 Mar 2014 01:06:59 +0000 (19:06 -0600)]
Fix styling issues with add timeout to stream with testing