`rewrite` options should apply to all responses
Created by: 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?