Kenneth Reitz [Fri, 16 May 2014 19:30:48 +0000 (15:30 -0400)]
ignot dist
Kenneth Reitz [Fri, 16 May 2014 17:55:47 +0000 (13:55 -0400)]
v2.3.0
Kenneth Reitz [Fri, 16 May 2014 17:55:06 +0000 (13:55 -0400)]
history update
Kenneth Reitz [Fri, 16 May 2014 17:44:21 +0000 (13:44 -0400)]
Merge remote-tracking branch 'origin/master'
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.
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
Paweł Romanowski [Tue, 13 May 2014 08:11:40 +0000 (10:11 +0200)]
Fix typo in advanced.rst docs
`Sesssion` -> `Session`
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
schlamar [Sat, 15 Mar 2014 20:29:14 +0000 (21:29 +0100)]
Added test for redirect with wrong gzipped header.
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.
schlamar [Mon, 10 Mar 2014 07:07:10 +0000 (08:07 +0100)]
Read content in Session.send instead of Adapter.send.
schlamar [Mon, 10 Mar 2014 06:54:22 +0000 (07:54 +0100)]
Catch possible exceptions while consuming content of redirect responses.
Cory Benfield [Mon, 12 May 2014 19:27:10 +0000 (20:27 +0100)]
Initial 2.3.0 changelog.
Kenneth Reitz [Mon, 12 May 2014 19:10:15 +0000 (15:10 -0400)]
CaseInsensitiveDict now looks like a normal dict
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
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
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
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
Donald Stufft [Mon, 12 May 2014 18:43:50 +0000 (14:43 -0400)]
Update urllib3 to
4fb351cd2
Cory Benfield [Sat, 3 May 2014 09:59:14 +0000 (10:59 +0100)]
Remove references to not-yet-made 2.3.0 release.
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'
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
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.
Cory Benfield [Tue, 29 Apr 2014 17:50:38 +0000 (18:50 +0100)]
Add urllib3 util package to setup.py.
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.
Cory Benfield [Mon, 28 Apr 2014 18:42:30 +0000 (19:42 +0100)]
Clearer description of Response.close().
Kenneth Reitz [Sat, 26 Apr 2014 13:28:05 +0000 (09:28 -0400)]
sidebar update
Kenneth Reitz [Sat, 26 Apr 2014 13:27:06 +0000 (09:27 -0400)]
sidebar update
Cory Benfield [Sat, 26 Apr 2014 12:05:01 +0000 (13:05 +0100)]
Don't repopulate proxies if we don't trust the env.
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
apr [Thu, 24 Apr 2014 18:43:26 +0000 (14:43 -0400)]
Update urllib to 1.8.2
Kenneth Reitz [Mon, 21 Apr 2014 16:25:01 +0000 (12:25 -0400)]
Merge pull request #2010 from Lukasa/philosophy
[WIP] Update philosophy section
Cory Benfield [Fri, 18 Apr 2014 16:28:12 +0000 (17:28 +0100)]
First pass at update to philosophy section.
Cory Benfield [Fri, 18 Apr 2014 16:15:45 +0000 (17:15 +0100)]
We're awesome, but don't need to be here twice.
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
Ian Cordasco [Fri, 18 Apr 2014 15:35:44 +0000 (10:35 -0500)]
Fix my name
Kenneth Reitz [Wed, 16 Apr 2014 19:37:29 +0000 (15:37 -0400)]
Merge pull request #2005 from ap-Codkelden/master
SVG logo version
ap-Codkelden@github.com [Wed, 16 Apr 2014 15:11:35 +0000 (18:11 +0300)]
SVG logo version (with fonts converted 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.
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
Kenneth Reitz [Tue, 15 Apr 2014 23:15:39 +0000 (19:15 -0400)]
@sigmavirus42
Kenneth Reitz [Tue, 15 Apr 2014 23:11:58 +0000 (19:11 -0400)]
github urls
Kenneth Reitz [Tue, 15 Apr 2014 23:07:52 +0000 (19:07 -0400)]
Merge remote-tracking branch 'origin/master'
Kenneth Reitz [Tue, 15 Apr 2014 23:07:41 +0000 (19:07 -0400)]
core contributors
Kenneth Reitz [Tue, 15 Apr 2014 23:01:41 +0000 (19:01 -0400)]
12,000,000
ap-Codkelden@github.com [Sat, 12 Apr 2014 18:13:52 +0000 (21:13 +0300)]
Font layer convert to curves
Cory Benfield [Thu, 10 Apr 2014 05:46:05 +0000 (06:46 +0100)]
Merge pull request #1998 from Kapishin/master
Fix typo
Pavlo Kapyshin [Thu, 10 Apr 2014 03:09:36 +0000 (06:09 +0300)]
Fix typo
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
Cory Benfield [Sat, 5 Apr 2014 16:29:00 +0000 (17:29 +0100)]
Reinstate '$'.
Benjamin Peterson [Sat, 5 Apr 2014 15:57:43 +0000 (11:57 -0400)]
delete pypi mirror section
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 :).
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.
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
Ian Cordasco [Thu, 3 Apr 2014 00:04:58 +0000 (19:04 -0500)]
Make note of the fact that we fixed some CVEs
Kenneth Reitz [Mon, 31 Mar 2014 14:30:36 +0000 (10:30 -0400)]
Merge pull request #1959 from Feng23/master
support request tuple data
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)
Stan Hu [Fri, 28 Mar 2014 23:37:54 +0000 (16:37 -0700)]
Update urllib to 1.8 (
8a8c601bee)
Feng Liu [Fri, 14 Mar 2014 08:24:25 +0000 (16:24 +0800)]
support request tuple data
rewrite the TestModels
Ajust the code
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
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
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
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
Kenneth Reitz [Mon, 24 Mar 2014 15:39:20 +0000 (11:39 -0400)]
Merge remote-tracking branch 'origin/master'
Kenneth Reitz [Mon, 24 Mar 2014 15:39:15 +0000 (11:39 -0400)]
3.4
Avi Das [Sun, 23 Mar 2014 16:38:37 +0000 (11:38 -0500)]
Shorten str for case insensitive dict
Kenneth Reitz [Sun, 23 Mar 2014 14:51:48 +0000 (10:51 -0400)]
Merge pull request #1951 from Lukasa/proxyauth
Re-evaluate proxy authorization.
Avi Das [Sat, 22 Mar 2014 21:30:22 +0000 (16:30 -0500)]
Fix parenthesis typo
Cory Benfield [Sat, 22 Mar 2014 21:11:33 +0000 (21:11 +0000)]
Style changes thanks to @sigmavirus24.
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
Ian Cordasco [Sat, 15 Mar 2014 17:48:29 +0000 (12:48 -0500)]
Actually assign history
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
Ian Cordasco [Sat, 15 Mar 2014 15:33:00 +0000 (10:33 -0500)]
Fix #1960: A Response's history should be a list
Cory Benfield [Wed, 12 Mar 2014 21:53:07 +0000 (21:53 +0000)]
Test stripping standard auth.
Cory Benfield [Wed, 12 Mar 2014 21:21:14 +0000 (21:21 +0000)]
Remove some extraneous comments to please KR.
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
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
Cory Benfield [Wed, 12 Mar 2014 19:22:40 +0000 (19:22 +0000)]
Add method for rebuilding proxy configuration.
This includes auth.
Cory Benfield [Wed, 12 Mar 2014 19:22:11 +0000 (19:22 +0000)]
Move auth rebuild to its own method.
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.
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.
schlamar [Wed, 12 Mar 2014 11:10:53 +0000 (12:10 +0100)]
Removed compress from accepted encodings.
Jason R. Coombs [Tue, 4 Mar 2014 22:46:58 +0000 (17:46 -0500)]
Add tests for decode_unicode
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
Jason R. Coombs [Tue, 4 Mar 2014 21:27:13 +0000 (16:27 -0500)]
Add documentation about decode_unicode.
Cory Benfield [Mon, 3 Mar 2014 20:23:59 +0000 (20:23 +0000)]
Timeout documentation changes.
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
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
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
Ian Cordasco [Sat, 1 Mar 2014 17:15:14 +0000 (11:15 -0600)]
Remove unnecessary bits from cacert notice section
cjstapleton [Sat, 1 Mar 2014 01:06:59 +0000 (19:06 -0600)]
Fix styling issues with add timeout to stream with testing
cjstapleton [Fri, 28 Feb 2014 16:08:57 +0000 (10:08 -0600)]
Add timeout to stream with testing
Fixes Issue #1803
Ian Cordasco [Fri, 28 Feb 2014 14:27:50 +0000 (08:27 -0600)]
Charade -> Chardet and Add cacert.pem license
- Charade is gone, long live Chardet.
- cacert.pem is now taken wholesale from Mozilla so we need to display that
itis licensed under the MPL2.0
schlamar [Tue, 18 Feb 2014 14:24:24 +0000 (15:24 +0100)]
Default proxy scheme to http.
schlamar [Tue, 18 Feb 2014 14:15:36 +0000 (15:15 +0100)]
Revert "Proxy urls should have explicit schemes."
This reverts commit
840540b6b1f07ef87faab73392c03fbef0dcc9fe.
Conflicts:
requests/adapters.py
requests/utils.py
Cory Benfield [Sun, 16 Feb 2014 19:02:05 +0000 (19:02 +0000)]
Merge pull request #1923 from Lukasa/master
The timeout is in seconds.
Cory Benfield [Sun, 16 Feb 2014 19:00:22 +0000 (19:00 +0000)]
The timeout is in seconds.
Ian Cordasco [Fri, 14 Feb 2014 22:15:21 +0000 (16:15 -0600)]
Do not set headers with None value
- Regardless of whether they are on the session or not
- Fixes #1920
Kenneth Reitz [Thu, 13 Feb 2014 21:03:37 +0000 (16:03 -0500)]
Merge pull request #1918 from zackw/response-is-redirect
New Response property, .is_redirect.
Zack Weinberg [Thu, 13 Feb 2014 19:27:42 +0000 (14:27 -0500)]
New Response property, .is_redirect.