A fix for #1979 repeat HTTP digest authentication after redirect.
Clean up, support all redirects, fix potential endless 401 loop.
Clean up handle_redirect.
fix failing test "test_prepare_unicode_url"
update AUTHORS
Revert "fix failing test "test_prepare_unicode_url""

This reverts commit cfd6e25749dd17c6b511043a6720b672f74029ed.
fix failing test "test_prepare_unicode_url"
Revert "fix failing test "test_prepare_unicode_url""

This reverts commit 26ed7c2e1dce4271f3a3b111a167a6dcca3acddf.
fix failing test "test_prepare_unicode_url" \(take 3\)
Note about read timeout errors and max_retries
Add DeprecationWarnings to inform users of plans

After a long discussion in IRC and on several issues, the developers of
requests have decided to remove specific functions from requests.utils
in version 3.0.0. To give users ample time to prepare for this, we've
added DeprecationWarnings long in advance. See also the planning of this
in issue #2266.
Merge pull request #2306 from ssadler/fix-failing-test-test_prepare_unicode_url

Fix failing test test_prepare_unicode_url
Cap the redirect_cache size to prevent memory abuse
Update documentation about max_retries to reflect code
Use to_native_string instead of builtin_str

Fixes #2316
Merge pull request #2317 from sigmavirus24/bug/2316

Use to_native_string instead of builtin_str
Merge pull request #2253 from yossigo/digest_redirect_fix

A fix for #1979: repeat HTTP digest authentication after redirect.
Pass strict to urllib3.
Merge pull request #2323 from Lukasa/strict

Pass strict to urllib3.
Close sessions created in the functional API

This is related to #1882 and #1685. By calling close on the session, we
clear the PoolManager operated by the Session and close all sockets.

Fixes #1882
Partially-fixes #1685