Only switch to chunked if we don't know the length of a file like object. This fixes the case of trying to upload a 0-length file - chunked upload was being forced. Services like S3 that disallow chunked upload will fail.
Lower-ify url before checking against prefix with startswith()
- fixed func call syntax on lower to lower()
- added test cases for trying to test GETS on mixed-case schemas
added tests for mixed-case scheme URLs, changed adapters passing down URLs into urllib3 by lower-ifying them so that the underlying pool manager can effectively pool by scheme as dictionary key
resolve_redirects no longer throws an InvalidSchema exception when the scheme is uppercase
resolve_redirects now checks for a scheme before converting the scheme to lowercase, added tests or the scheme casing
I probably should add my name too
added assertion to test_uppercase_scheme_redirect for the response code
this didn't merge properly
rebased with upstream/master
Update quickstart.rst

rephrase misleading info about `raise_for_status`
Use urllib to retrieve environment proxies.

This has the added benefit of including proxies defined by the OS X System Configuration framework and in the Windows registry, rather than only checking os.environ.
Added myself to AUTHORS.
Merge pull request #1392 from revolunet/patch-2

Update quickstart.rst
Merge pull request #1381 from expandrive/master

Don't force chunked transfer on 0-length file-like object.
Merge pull request #1385 from ViktorHaag/master

Cope with mixed-case URL schemes (like 'HTTP') by lower-ifying 'url' string before calling startswith() on it
Merge pull request #1334 from rcarz/master

resolve_redirects no longer throws an InvalidSchema exception when the scheme is uppercase
Merge pull request #1400 from jam/master

Retrieve environment proxies using standard library functions