Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirects don't work if going to another server #212

Open
petercooperjr-spls opened this issue Oct 9, 2019 · 0 comments
Open

Redirects don't work if going to another server #212

petercooperjr-spls opened this issue Oct 9, 2019 · 0 comments

Comments

@petercooperjr-spls
Copy link

When making a request using JsonClient or StringClient, where the server returns a redirect status (such as 301), and the Location header is a different server than the one the initial request went to, then the new request that it tries goes to the new path but on the old server, not the new one.

It looks like StringClient (around line 122) updates the path for a new request, but not other needed properties like protocol/host/port.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant