Ian Cordasco [Sun, 8 Jun 2014 14:44:26 +0000 (09:44 -0500)]
Merge pull request #2087 from Lukasa/2616
Update trivial mentions to RFC 2616.
Cory Benfield [Sat, 7 Jun 2014 08:53:12 +0000 (09:53 +0100)]
Update trivial mentions to RFC 2616.
Kenneth Reitz [Fri, 30 May 2014 17:36:18 +0000 (13:36 -0400)]
v2.3.1 changelog
Kenneth Reitz [Fri, 30 May 2014 17:33:29 +0000 (13:33 -0400)]
Merge pull request #2078 from dgouldin/2077
Allow copying of PreparedRequests without headers/cookies
David Gouldin [Fri, 30 May 2014 17:11:53 +0000 (10:11 -0700)]
Allow copying of PreparedRequests without headers/cookies
Kenneth Reitz [Thu, 29 May 2014 14:39:42 +0000 (10:39 -0400)]
Merge pull request #2072 from sigmavirus24/fix-urlencoded-bytes
Check for basestring, not just str
Cory Benfield [Wed, 28 May 2014 16:01:10 +0000 (17:01 +0100)]
Merge pull request #2074 from Lukasa/filedoc
Ensure that we open files in binary mode in the docs.
Cory Benfield [Wed, 28 May 2014 15:59:57 +0000 (16:59 +0100)]
Ensure that we open files in binary mode.
Ian Cordasco [Wed, 28 May 2014 13:17:18 +0000 (08:17 -0500)]
Remove unnecessary check for builtin_str
Ian Cordasco [Wed, 28 May 2014 01:29:44 +0000 (20:29 -0500)]
Check for basestring, not just str
Fixes #2071
Kenneth Reitz [Tue, 27 May 2014 15:28:11 +0000 (11:28 -0400)]
Merge pull request #2059 from jschneier/master
remove unused IteratorProxy
Kenneth Reitz [Tue, 27 May 2014 15:25:54 +0000 (11:25 -0400)]
Merge pull request #2064 from mgeisler/simplejson-syntax-error-import
compat: handle SyntaxError when importing simplejson
Kenneth Reitz [Tue, 27 May 2014 15:24:47 +0000 (11:24 -0400)]
Merge pull request #2065 from mgeisler/tox
Fix Python 3.2 compatibility in tests
Kenneth Reitz [Tue, 27 May 2014 15:11:21 +0000 (11:11 -0400)]
Merge pull request #2069 from Lukasa/request
Document and initialise Response.request
Cory Benfield [Mon, 26 May 2014 15:40:45 +0000 (16:40 +0100)]
Document and initialise Response.request
Martin Geisler [Sun, 25 May 2014 22:31:10 +0000 (00:31 +0200)]
test: restore Python 3.2 compatibility
The tests were broken because they used the u'...' Unicode literal
syntax which disappeared in Python 3.0 to 3.2.
We can work around this by conditionally defining a "u" function which
will produce a Unicode literal on Python 2.x. This is basically the
same approach as taken by the six library often used for writing
cross-version compatible code.
Martin Geisler [Sun, 25 May 2014 22:23:21 +0000 (00:23 +0200)]
faq: add Python 3.4 to list of supported Python versions
No code changes were necessary for this.
Martin Geisler [Sun, 25 May 2014 22:18:14 +0000 (00:18 +0200)]
faq: mention that PyPy 2.2 works too
The FAQ says that PyPy 1.9 is supported. On my Debian Unstable, I can
install PyPy 2.2.1 and the tests work with that version too.
Martin Geisler [Sun, 25 May 2014 22:44:09 +0000 (00:44 +0200)]
compat: handle SyntaxError when importing simplejson
We officially support Python 2.6 to 3.3, but simplejson does not
support Python 3.1 or 3.2:
https://github.com/simplejson/simplejson/issues/66
Importing simplejson on Python 3.2 results in a SyntaxError because
simplejson uses the u'...' syntax (the syntax was not supported in
Python 3.0 to 3.2).
Support for loading simplejson instead of the stdlib json module was
added by #710:
https://github.com/kennethreitz/requests/pull/710
No mention was made of the lack of support for Python 3.2, but it was
mentioned that simplejson can be faster than the stdlib json module.
Josh Schneier [Fri, 23 May 2014 15:52:17 +0000 (11:52 -0400)]
remove unused IteratorProxy
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.
Ben McGinnes [Sat, 17 May 2014 15:16:27 +0000 (01:16 +1000)]
Fixed paragraph formatting in Urllib3/MIT License.
Ian Cordasco [Fri, 16 May 2014 21:05:41 +0000 (16:05 -0500)]
Merge pull request #2046 from alex/patch-2
Fixed a typo
Kenneth Reitz [Fri, 16 May 2014 19:30:48 +0000 (15:30 -0400)]
ignot dist
Alex Gaynor [Fri, 16 May 2014 18:11:05 +0000 (14:11 -0400)]
Fixed a typo
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