-
Notifications
You must be signed in to change notification settings - Fork 41
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
Network Intercept: add validation for "method" #575
Comments
Follow-up questions:
|
I'm not sure those are the only methods usable with fetch? The spec says in a Note:
I don't think I would restrict the method list or enforce case and just let the browser handle the method normalisation as it usually does? |
Oh, I missed this. Then...no AI needed, I suppose? Closing. |
Currently, network methods use the following type:
?method: text,
For example, in https://w3c.github.io/webdriver-bidi/#command-network-continueRequest.
That said:
Here is a verbatim copy:
Only the strings above are valid methods.
We should make the spec stricter by using an union of the aforementioned words instead of allowing any free-form "text".
The text was updated successfully, but these errors were encountered: