Skip to content
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

Merged
merged 10 commits into from
Jul 15, 2024

Conversation

soulgalore
Copy link
Member

'"headers" not supported yet in network.continueRequest',

Example on how to set request headers in Bidi if will be available in continueRequest?

@soulgalore soulgalore changed the title Preparing for setting headers when FF supports it in Bidi Preparing for setting headers when FF supports it in Bidi (Firefox 1XX) Mar 19, 2024
method: 'network.continueRequest',
params: {
request: parsedEvent.params.request.request,
headers
Copy link
Contributor

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.

Suggested change
headers
[headers](headers: [...parsedEvent.params.request.headers, ...headers],)

Copy link
Member Author

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.

@soulgalore soulgalore merged commit afb132c into main Jul 15, 2024
15 checks passed
@soulgalore soulgalore deleted the requestHeaders branch July 15, 2024 03:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants