-
-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preparing for setting headers when FF supports it in Bidi (Firefox 1XX) #2108
Conversation
lib/firefox/firefoxBidi.js
Outdated
method: 'network.continueRequest', | ||
params: { | ||
request: parsedEvent.params.request.request, | ||
headers |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mentioned it on bugzilla, but here you should merge your headers with the current request headers.
headers | |
[headers](headers: [...parsedEvent.params.request.headers, ...headers],) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah thank you! I got confused since I got "success" without the rest of the headers.
Example on how to set request headers in Bidi if will be available in continueRequest?