Skip to content

rewrite options should apply to all responses #914

Open
@tillsc

Description

@tillsc

According to the documentation the hostRewrite and autoRewrite options only apply to 3xx responses. But the Location-Header is allowed in more than only the 3xx responses (e.g. in 201 Created).

I don't understand why it is necessary to limit this functionality to specific response codes. Why couldn't just every Location header be analyzed and replaced if there is one present in the response?

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