-
| I can't replace the response body with my own HTML. I use this code but it doesn't work. Maybe it's the headers: I looked at all the available examples, but it didn't make things any clearer for me, sorry. |
Beta Was this translation helpful? Give feedback.
Answered by mdmintz Apr 11, 2025
Replies: 1 comment
-
| You can only do what the Chrome Devtools Protocol allows you to do. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by mdmintz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment


You can only do what the Chrome Devtools Protocol allows you to do.
https://chromedevtools.github.io/devtools-protocol/tot/Fetch/#method-continueRequest
https://chromedevtools.github.io/devtools-protocol/tot/Fetch/#method-fulfillRequest
If there's no existing example for what you're trying to do, you may need to experiment on your own.