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.
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
Kenneth Reitz [Sun, 23 Mar 2014 14:51:48 +0000 (10:51 -0400)]
Merge pull request #1951 from Lukasa/proxyauth
Re-evaluate proxy authorization.
Cory Benfield [Sat, 22 Mar 2014 21:11:33 +0000 (21:11 +0000)]
Style changes thanks to @sigmavirus24.
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.
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
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.
Kenneth Reitz [Tue, 11 Feb 2014 16:58:23 +0000 (11:58 -0500)]
Merge pull request #1891 from sigmavirus24/add-requests-to-exceptions
Add request to RequestException
Kenneth Reitz [Tue, 11 Feb 2014 16:55:33 +0000 (11:55 -0500)]
Merge pull request #1897 from aliles/master
Document requirements for SNI support on Python2
Kenneth Reitz [Tue, 11 Feb 2014 16:55:20 +0000 (11:55 -0500)]
Merge pull request #1900 from mjpieters/issue1674-json-fallback-encoding
Reinstate falling back to self.text for JSON responses
Cory Benfield [Tue, 11 Feb 2014 07:31:47 +0000 (07:31 +0000)]
Clarify our 1.2.1 behaviour change.
Kenneth Reitz [Fri, 7 Feb 2014 02:32:41 +0000 (18:32 -0800)]
Merge pull request #1902 from mjpieters/master
Remove unused loggers.
Cory Benfield [Wed, 5 Feb 2014 18:32:16 +0000 (18:32 +0000)]
Merge pull request #1904 from mjpieters/doc-response-reason
Document the `Response.reason` attribute.
Martijn Pieters [Wed, 5 Feb 2014 17:29:09 +0000 (17:29 +0000)]
Document the `Response.reason` attribute.
Made `.status_code` and `.reason` consistent with one another, adding some examples. Addresses #1225.
Aaron Iles [Tue, 4 Feb 2014 10:08:11 +0000 (21:08 +1100)]
State early in SNI discussion Python2 limitation
Reference at the earliest opportunity that Server-Name-Indication is a
limitation of Python 2.6 and 2.7. Avoid describing it as a Requests
issue.
Cory Benfield [Tue, 4 Feb 2014 08:53:53 +0000 (00:53 -0800)]
Merge pull request #1901 from mjpieters/chardet-not-charade
One last Charade reference to remove here.
Martijn Pieters [Mon, 3 Feb 2014 13:43:59 +0000 (13:43 +0000)]
Remove unused loggers.
Martijn Pieters [Mon, 3 Feb 2014 13:39:21 +0000 (13:39 +0000)]
One last Charade reference to remove here.
Martijn Pieters [Mon, 3 Feb 2014 13:37:57 +0000 (13:37 +0000)]
Remove logging and charade mention.
Logging is Not Allowed, so out it goes.
Martijn Pieters [Mon, 3 Feb 2014 12:00:14 +0000 (12:00 +0000)]
Reinstate falling back to self.text for JSON responses
A JSON response that has no encoding specified will be decoded with a detected UTF codec (compliant with the JSON RFC), but if that fails, we guessed wrong and need to fall back to charade character detection (via `self.text`). Kenneth removed this functionality (by accident?) in
1451ba0c6d395c41f86da35036fa361c3a41bc90, this reinstates it again and adds a log warning.
Fixes #1674
Aaron Iles [Sun, 2 Feb 2014 11:19:10 +0000 (22:19 +1100)]
Move SNI documentation to FAQ
Relocate documentation on Server-Name-Indication from the advanced
section to the frequently asked questions. This is minus details on
enabling SNI on Python2, which is instead captured by linking to Stack
Overflow.
Aaron Iles [Sun, 2 Feb 2014 09:14:05 +0000 (20:14 +1100)]
Document requirements for SNI support on Python2
A section for Request's advanced usage guide on what Server Name
Indication is, its purpose, and how to enable it on Python2.
Kenneth Reitz [Fri, 31 Jan 2014 17:31:11 +0000 (12:31 -0500)]
what is wrong with you people? :)
Kenneth Reitz [Fri, 31 Jan 2014 17:30:52 +0000 (12:30 -0500)]
omg never do this again ever please
Kenneth Reitz [Fri, 31 Jan 2014 17:29:56 +0000 (12:29 -0500)]
who did this
Kenneth Reitz [Fri, 31 Jan 2014 17:27:05 +0000 (12:27 -0500)]
cleanup shitty code
Kenneth Reitz [Fri, 31 Jan 2014 17:19:53 +0000 (09:19 -0800)]
Merge pull request #1892 from Lukasa/netrcauth
Repopulate ~/.netrc auth.
Cory Benfield [Fri, 31 Jan 2014 07:36:44 +0000 (07:36 +0000)]
Respect trust_env on redirect.
Kenneth Reitz [Thu, 30 Jan 2014 17:23:57 +0000 (09:23 -0800)]
Merge pull request #1893 from Lukasa/license
Avoid breaking crappy distribution methods.
Cory Benfield [Thu, 30 Jan 2014 15:11:24 +0000 (15:11 +0000)]
Better layout for checking.
Cory Benfield [Wed, 29 Jan 2014 19:21:04 +0000 (19:21 +0000)]
Avoid breaking crappy distribution methods.
Cory Benfield [Wed, 29 Jan 2014 19:13:46 +0000 (19:13 +0000)]
Repopulate ~/.netrc auth.
Ian Cordasco [Wed, 29 Jan 2014 02:39:09 +0000 (20:39 -0600)]
Explicitly check for None
Ian Cordasco [Wed, 29 Jan 2014 02:24:41 +0000 (20:24 -0600)]
Avoid having to fix tests
Ian Cordasco [Wed, 29 Jan 2014 02:13:57 +0000 (20:13 -0600)]
Move creation of attributes to RequestException
Pass request objects in HTTPAdapter
Kenneth Reitz [Tue, 28 Jan 2014 20:14:38 +0000 (12:14 -0800)]
Merge pull request #1888 from longaccess/handle301
Fix for 301 redirect and latest PyOpenSSL.
Konstantinos Koukopoulos [Tue, 28 Jan 2014 17:11:23 +0000 (09:11 -0800)]
on redirect pass URL as bytes. Fixes: #1887