You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?