Fail with a more descriptive error if the server returns a malformed redirect
Update README.md
Bump version to 2.42.0
Update docs