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.
cookies.morsel_to_cookie(morsel) raise TypeError repaired.

morsel_to_cookie(mosel) method raise TypeError: create_cookie() got unexpected keyword arguments: ['path_specified', 'domain_specified', 'port_specified', 'domain_initial_dot'].

so we should remove these param from create_cookie(...)
cookies.morsel_to_cookie morsel['expires'] can't be strtime, and max-age convert to expires problem repair
update urllib3 to 60ba176f5d
Merge pull request #1413 from Lukasa/docs

Assorted docs updates
Merge pull request #1412 from t-8ch/update_urllib3

update urllib3 to 60ba176f5d
Merge pull request #1408 from wasw100/master

cookies.morsel_to_cookie morsel['expires'] can't be strtime, and morsel['max-age'] convert to expires problem repair
Merge pull request #1392 from revolunet/patch-2

Update quickstart.rst