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

How to modify request headers in HijackRequests #1153

Open
yuxingfei opened this issue Nov 27, 2024 · 2 comments
Open

How to modify request headers in HijackRequests #1153

yuxingfei opened this issue Nov 27, 2024 · 2 comments
Labels
question Questions related to rod upstream Upstream issue that can't solved by Rod

Comments

@yuxingfei
Copy link

yuxingfei commented Nov 27, 2024

Rod Version: v0.116.2

ctx.Request.Req().Header.Set("xiiiiii", "xixixixi")

I did not see the modified request header information in the Chrome debugging panel

@yuxingfei yuxingfei added the question Questions related to rod label Nov 27, 2024
Copy link

Please add a valid Rod Version: v0.0.0 to your issue. Current version is v0.116.2

generated by check-issue

@ysmood
Copy link
Member

ysmood commented Nov 27, 2024

devtools panel and rod are both using the same cdp api to manipulate chromium, they won't be able to detect each others change on the request, cdp api doesn't support this.

@ysmood ysmood added the upstream Upstream issue that can't solved by Rod label Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Questions related to rod upstream Upstream issue that can't solved by Rod
Projects
None yet
Development

No branches or pull requests

2 participants