Skip to content

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

@petercooperjr-spls

Description

@petercooperjr-spls

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions