Open derjanb opened 2 hours ago
Firefox never sends the added header at the second request.
It appears Safari sends the added header to the second request with DNR.
But the included test case doesn't reproduce that issue - because we limit the headers that can be modified, and that bbb
isn't one of them.
If a header is added to a request via
webRequest
then the redirected request also sends this header. This does not apply todeclarativeNetRequest
modifyHeaders
rules.Please specify the correct behavior. You can test both behaviors by loading the unpacked extensions attached and investigating the background contexts. Using
webRequest
the request tohttps://httpbin.org/headers
sends aaaa
header while usingdeclarativeNetRequest
the request does not send abbb
header.From my point of view a redirect means to send the very same request to another URL, which includes extension based modifications which even might have caused the redirect.
t.zip