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