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
Default HTTP headers configured in config.http.defaults.headers are not visible in beforeRequest hooks either in the request parameters or context. They end up in the outgoing HTTP request though.
This would be useful, as one might need to calculate a request signature based on the request headers, and it's impossible to do so if not all the headers are present in the beforeRequest hook. As a workaround, it's of course possible to duplicate all the default headers in each request.