Cory Benfield [Wed, 22 Jan 2014 14:28:41 +0000 (14:28 +0000)]
Update changelog for 2.2.1.
Cory Benfield [Tue, 21 Jan 2014 18:24:37 +0000 (10:24 -0800)]
Merge pull request #1874 from kevinburke/typo
Typo in History
Kevin Burke [Tue, 21 Jan 2014 18:18:04 +0000 (10:18 -0800)]
Typo in History
Kenneth Reitz [Thu, 16 Jan 2014 23:12:40 +0000 (15:12 -0800)]
Update NOTICE
Kenneth Reitz [Thu, 16 Jan 2014 22:16:04 +0000 (14:16 -0800)]
Merge pull request #1867 from Lukasa/closing
Document contextlib.closing.
Cory Benfield [Thu, 16 Jan 2014 08:37:29 +0000 (08:37 +0000)]
Document contextlib.closing.
Kenneth Reitz [Tue, 14 Jan 2014 19:56:04 +0000 (11:56 -0800)]
Merge pull request #1862 from sybeck2k/master
Fixed parsing of username and password encoded in the URI
Roberto Migli [Mon, 13 Jan 2014 15:29:46 +0000 (16:29 +0100)]
Added comment for test test_get_auth_from_url
Roberto Migli [Mon, 13 Jan 2014 13:04:28 +0000 (14:04 +0100)]
Merged changes from @lukasa
Roberto Migli [Mon, 13 Jan 2014 12:32:00 +0000 (13:32 +0100)]
Fixed parsing of username and password encoded in the URI
Cory Benfield [Sun, 12 Jan 2014 14:46:40 +0000 (14:46 +0000)]
Don't need to unquote twice.
Cory Benfield [Sun, 12 Jan 2014 14:44:53 +0000 (14:44 +0000)]
Be less defensive in get_auth_from_url.
Cory Benfield [Sun, 12 Jan 2014 09:39:32 +0000 (09:39 +0000)]
Meet @sigmavirus24's demanding stylistic criteria.
Cory Benfield [Sat, 11 Jan 2014 10:15:53 +0000 (10:15 +0000)]
TypeError, not AttributeError on 3.3.
Cory Benfield [Sat, 11 Jan 2014 09:59:23 +0000 (09:59 +0000)]
Unquote the auth after splitting the url.
Cory Benfield [Thu, 9 Jan 2014 19:48:13 +0000 (19:48 +0000)]
Fixup the header heirarchy.
Cory Benfield [Thu, 9 Jan 2014 19:46:32 +0000 (19:46 +0000)]
Merge branch 'master' of github.com:dsoprea/requests
Conflicts:
docs/user/advanced.rst
Kenneth Reitz [Thu, 9 Jan 2014 19:38:44 +0000 (14:38 -0500)]
fix rst syntax bugs
Kenneth Reitz [Thu, 9 Jan 2014 19:33:17 +0000 (14:33 -0500)]
v2.2.0
Kenneth Reitz [Thu, 9 Jan 2014 19:14:45 +0000 (11:14 -0800)]
Merge pull request #1854 from Lukasa/220
Changelog for 2.2.0.
Cory Benfield [Thu, 9 Jan 2014 19:10:30 +0000 (19:10 +0000)]
Changelog for 2.2.0.
Cory Benfield [Thu, 9 Jan 2014 19:08:58 +0000 (19:08 +0000)]
Make ContentDecodingError a subclass.
This should avoid the user having to worry about the new exception.
Dustin Oprea [Thu, 9 Jan 2014 05:25:03 +0000 (00:25 -0500)]
Added an SSL TA example.
Kenneth Reitz [Wed, 8 Jan 2014 18:57:09 +0000 (10:57 -0800)]
Merge pull request #1846 from acdha/paranoid-get_netrc_auth
get_netrc_auth should handle os.path.expanduser failing
Kenneth Reitz [Wed, 8 Jan 2014 18:53:23 +0000 (13:53 -0500)]
Merge branch 'master' into fix-pickling-adapters
Conflicts:
AUTHORS.rst
Kenneth Reitz [Wed, 8 Jan 2014 18:51:08 +0000 (10:51 -0800)]
Merge pull request #1845 from Lukasa/proxy_bypass
Resolve proxy_bypass problems.
Kenneth Reitz [Wed, 8 Jan 2014 18:50:00 +0000 (10:50 -0800)]
Merge pull request #1827 from pepijndevos/master
Use adapter pool size for proxies
Kenneth Reitz [Wed, 8 Jan 2014 18:48:25 +0000 (10:48 -0800)]
Merge pull request #1831 from kevinburke/interlinks
Add more interlinks between the documentation
Kenneth Reitz [Wed, 8 Jan 2014 18:45:33 +0000 (10:45 -0800)]
Merge pull request #1832 from kevinburke/docs-warnings
Fix warnings when building the docs
Kenneth Reitz [Wed, 8 Jan 2014 18:44:20 +0000 (10:44 -0800)]
Merge pull request #1836 from sigmavirus24/2014
Bump the year ftw
Kenneth Reitz [Tue, 7 Jan 2014 23:22:24 +0000 (15:22 -0800)]
Merge pull request #1849 from kevinburke/urllib3-update
Update urllib3 to 232f496
Kevin Burke [Tue, 7 Jan 2014 20:32:01 +0000 (12:32 -0800)]
Update urllib3 to 232f496
Chris Adams [Tue, 7 Jan 2014 17:23:11 +0000 (12:23 -0500)]
get_netrc_auth: code cleanup
* Stop iterating as soon as we find a netrc file
* More obvious return None
Kenneth Reitz [Tue, 7 Jan 2014 17:03:24 +0000 (12:03 -0500)]
/me grumbles
Chris Adams [Tue, 7 Jan 2014 16:34:51 +0000 (11:34 -0500)]
get_netrc_auth: handle os.path.expanduser failure
os.path.expanduser can raise a KeyError when $HOME is not set and the
POSIX getpwuid() call fails, which can happen when running under a UID
which is not in /etc/passwd or when the password file cannot be read.
The upstream bug report http://bugs.python.org/issue20164 is unlikely to
be backported to Python 2.x even if fixed so this change handles
KeyError by skipping netrc authentication.
Closes #1846
Cory Benfield [Tue, 7 Jan 2014 09:37:59 +0000 (09:37 +0000)]
Don't let proxy_bypass bring you down.
Ian Cordasco [Thu, 2 Jan 2014 22:05:29 +0000 (16:05 -0600)]
No one checks docs or a license
Ian Cordasco [Thu, 2 Jan 2014 22:01:15 +0000 (16:01 -0600)]
Bump the year ftw
Kevin Burke [Sat, 28 Dec 2013 08:09:29 +0000 (00:09 -0800)]
Fix warnings when building the docs
It may be nice to make builds fail if new documentation generates warnings, to
avoid these sorts of problems slipping in in the future.
Kevin Burke [Sat, 28 Dec 2013 07:43:55 +0000 (23:43 -0800)]
Add more interlinks between the documentation
Also fixes up tense in a few cases, and adds the `intersphinx` extension so we
can link to the urllib3 documentation when it is called out.
Pepijn de Vos [Tue, 24 Dec 2013 10:14:04 +0000 (11:14 +0100)]
use adapter pool size for proxies
Kenneth Reitz [Fri, 20 Dec 2013 14:21:04 +0000 (06:21 -0800)]
Merge pull request #1823 from Lukasa/moredocs
Update docs to highlight the value of r.encoding.
Cory Benfield [Fri, 20 Dec 2013 09:15:12 +0000 (09:15 +0000)]
Update docs to highlight the value of r.encoding.
Kenneth Reitz [Thu, 19 Dec 2013 20:38:52 +0000 (12:38 -0800)]
Merge pull request #1807 from podshumok/fix-request-cookiejar-as-dict
cookiejar.iteritems() is broken after 2.1.0 update
Kenneth Reitz [Thu, 19 Dec 2013 20:38:34 +0000 (12:38 -0800)]
Merge pull request #1816 from daftshady/master
Re-raise DecodeError
daftshady [Thu, 19 Dec 2013 09:02:56 +0000 (18:02 +0900)]
Re-raise DecodeError
Kenneth Reitz [Wed, 18 Dec 2013 15:56:30 +0000 (07:56 -0800)]
Merge pull request #1808 from kennethreitz/fix-cookies-saved-on-redirect
Fixes #1805
Kenneth Reitz [Wed, 18 Dec 2013 15:52:55 +0000 (07:52 -0800)]
Merge pull request #1810 from kennethreitz/swap-charade-for-chardet
Swap charade for chardet
Konstantin Podshumok [Wed, 18 Dec 2013 14:50:53 +0000 (18:50 +0400)]
split cookiejar as dict test
Ian Cordasco [Wed, 18 Dec 2013 14:46:49 +0000 (08:46 -0600)]
Update the history and change the last last references to charade
Ian Cordasco [Wed, 18 Dec 2013 14:43:18 +0000 (08:43 -0600)]
Fix all remaining references to charade
Ian Cordasco [Wed, 18 Dec 2013 14:42:12 +0000 (08:42 -0600)]
Initial work towards replacing charade
Konstantin Podshumok [Wed, 18 Dec 2013 14:09:24 +0000 (18:09 +0400)]
preserve python2-like dict API for RequestCookieJar
Ian Cordasco [Wed, 18 Dec 2013 04:52:48 +0000 (22:52 -0600)]
Fixes #1805
Sure cookies are persisted to the session, but those new cookies are not added
to the next prepared request. We need to update that new request's CookieJar
with the new cookies.
Konstantin Podshumok [Wed, 18 Dec 2013 02:56:53 +0000 (06:56 +0400)]
fix regression with cookiejar.iteritems()
Kenneth Reitz [Mon, 16 Dec 2013 18:19:36 +0000 (13:19 -0500)]
Merge remote-tracking branch 'origin/master'
Kenneth Reitz [Mon, 16 Dec 2013 18:19:30 +0000 (13:19 -0500)]
8,000,000
Ian Cordasco [Sat, 14 Dec 2013 04:29:30 +0000 (22:29 -0600)]
Move comment to the right place
Erik Wickstrom [Fri, 13 Dec 2013 00:21:29 +0000 (16:21 -0800)]
Updated AUTHORS.
Erik Wickstrom [Fri, 13 Dec 2013 00:19:50 +0000 (16:19 -0800)]
Fixed pickle support for requests.adapters.HTTPAdapter by adding
'proxy_manager' when unpickling.
Ian Cordasco [Thu, 12 Dec 2013 19:03:37 +0000 (13:03 -0600)]
Prevent error when using proxies after picking an Adapter
Cory Benfield [Thu, 12 Dec 2013 16:21:38 +0000 (08:21 -0800)]
Merge pull request #1792 from Lukasa/oops
Fixup changelog with missing breaking change.
Cory Benfield [Thu, 12 Dec 2013 16:21:04 +0000 (16:21 +0000)]
Fixup changelog with missing breaking change.
Kenneth Reitz [Fri, 6 Dec 2013 15:38:12 +0000 (07:38 -0800)]
Merge pull request #1772 from mdbecker/make_morsel_to_cookie_more_pythonic
Make morsel_to_cookie more pythonic
Michael Becker [Fri, 6 Dec 2013 15:08:42 +0000 (10:08 -0500)]
test_requests: convert tests to py.test style
Michael Becker [Fri, 6 Dec 2013 02:54:29 +0000 (21:54 -0500)]
cookies: Fix bugs found during CI
Michael Becker [Tue, 3 Dec 2013 16:00:25 +0000 (11:00 -0500)]
cookies: Take a less cowardly approach
Per discussion with @sigmavirus24, we'll take the less cowardly approach here.
"the RFC defines the Expires header as a string with the format we're assigning to ``time_template`` so checking if it is a string is unnecessary."
Crossing my fingers that this doesn't break anyones existing code...
Michael Becker [Tue, 3 Dec 2013 03:15:16 +0000 (22:15 -0500)]
AUTHORS: Take credit
Michael Becker [Tue, 3 Dec 2013 03:15:01 +0000 (22:15 -0500)]
cookies: Replace type checks with try/except
Michael Becker [Tue, 3 Dec 2013 03:14:41 +0000 (22:14 -0500)]
test_requests: Add tests for morsel_to_cookie
These tests will ensure my changes to how we handle 'expires' don't cause any regressions.
Kenneth Reitz [Thu, 5 Dec 2013 22:51:10 +0000 (17:51 -0500)]
updated CA Bundle!
Kenneth Reitz [Thu, 5 Dec 2013 22:45:05 +0000 (17:45 -0500)]
Merge remote-tracking branch 'origin/master'
Kenneth Reitz [Thu, 5 Dec 2013 22:44:56 +0000 (17:44 -0500)]
last changelog entry
Kenneth Reitz [Thu, 5 Dec 2013 22:41:25 +0000 (17:41 -0500)]
further notes and version bump
Kenneth Reitz [Thu, 5 Dec 2013 22:40:44 +0000 (14:40 -0800)]
Merge pull request #1770 from kmadac/master
Implemetation of IP address ranges for no_proxy environment variable
Kenneth Reitz [Thu, 5 Dec 2013 22:37:48 +0000 (17:37 -0500)]
history notes about v2.1
Kenneth Reitz [Thu, 5 Dec 2013 22:36:10 +0000 (14:36 -0800)]
Merge pull request #1669 from Lukasa/chunked
[WIP] Better chunked handling.
Kenneth Reitz [Thu, 5 Dec 2013 22:26:58 +0000 (14:26 -0800)]
Merge pull request #1776 from sigmavirus24/fix-1728
Fix 1728 (Fixed up from #1729)
Kenneth Reitz [Thu, 5 Dec 2013 22:00:58 +0000 (14:00 -0800)]
Merge pull request #1781 from Lukasa/ucliteral
Clean up #1779.
Cory Benfield [Thu, 5 Dec 2013 21:06:11 +0000 (21:06 +0000)]
Remove the unicode literals.
Kenneth Reitz [Thu, 5 Dec 2013 19:44:06 +0000 (11:44 -0800)]
Merge pull request #1779 from kracekumar/patch-2
Made default_user_agent reusable
Kamil Madac [Thu, 5 Dec 2013 10:15:52 +0000 (11:15 +0100)]
function is_ipv4_network renamed
more detailed check of cidr format
Kamil Madac [Thu, 5 Dec 2013 08:36:49 +0000 (09:36 +0100)]
Typo fixed
Kamil Madac [Thu, 5 Dec 2013 08:32:29 +0000 (09:32 +0100)]
Broad exception fixed
kracekumar [Thu, 5 Dec 2013 06:41:35 +0000 (12:11 +0530)]
Made default_user_agent reusable
This is not exciting change, but will help for people who wants to change name of user agent alone. Also name can be unicode.
Kamil Madac [Wed, 4 Dec 2013 14:11:10 +0000 (15:11 +0100)]
Tiny comment fix
Kamil Madac [Wed, 4 Dec 2013 14:10:24 +0000 (15:10 +0100)]
Additional tests added
Ian Cordasco [Wed, 4 Dec 2013 12:45:18 +0000 (06:45 -0600)]
Address feedback from #1729
- Make the PreparedRequest's cookie jar an implementation detail
Chase Sterling [Thu, 7 Nov 2013 02:52:21 +0000 (21:52 -0500)]
Store the request cookiejar in PreparedRequest.cookies fix #1728
Conflicts:
requests/sessions.py
Chase Sterling [Thu, 7 Nov 2013 00:39:56 +0000 (19:39 -0500)]
Add a test case for request cookies persisting to session. refs #1728
Kamil Madac [Wed, 4 Dec 2013 10:47:40 +0000 (11:47 +0100)]
Better comments
Kamil Madac [Wed, 4 Dec 2013 09:54:36 +0000 (10:54 +0100)]
Tests added
Kamil Madac [Wed, 4 Dec 2013 08:31:56 +0000 (09:31 +0100)]
Unnecessary files kmadac.xml deleted
Kamil Madac [Wed, 4 Dec 2013 08:30:01 +0000 (09:30 +0100)]
Merge branch 'master' of https://github.com/kmadac/requests
Kenneth Reitz [Wed, 4 Dec 2013 01:36:00 +0000 (17:36 -0800)]
Merge pull request #1768 from Lukasa/credpct
Unencode usernames and passwords taken from URLs.
Kenneth Reitz [Wed, 4 Dec 2013 01:35:02 +0000 (17:35 -0800)]
Merge pull request #1764 from Lukasa/clog
Prepare new release (2.1.0)?
Kenneth Reitz [Wed, 4 Dec 2013 01:33:59 +0000 (17:33 -0800)]
Merge pull request #1766 from Lukasa/qop
Quote qop values in digest auth.
Kenneth Reitz [Wed, 4 Dec 2013 01:33:42 +0000 (17:33 -0800)]
Merge pull request #1657 from sigmavirus24/fix-session-hooks
Honor session hooks
Kenneth Reitz [Wed, 4 Dec 2013 01:33:33 +0000 (17:33 -0800)]
Merge pull request #1713 from daftshady/master
Fixed #1711
Kenneth Reitz [Wed, 4 Dec 2013 01:02:25 +0000 (17:02 -0800)]
Merge pull request #1775 from sigmavirus24/add-readme-to-packages
Add README to requests/packages