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
Merge pull request #1334 from rcarz/master

resolve_redirects no longer throws an InvalidSchema exception when the scheme is uppercase