ChromeDevTools / devtools-protocol

Chrome DevTools Protocol
https://chromedevtools.github.io/devtools-protocol/
BSD 3-Clause "New" or "Revised" License
1.15k stars 226 forks source link

Confusion of docs of Request pattern `'?'` . #315

Open lwintermelon opened 2 weeks ago

lwintermelon commented 2 weeks ago

https://github.com/ChromeDevTools/devtools-protocol/blob/6866f7c9c60471ccd19822e960975b1012fc1268/pdl/browser_protocol.pdl#L6501-L6505

The document says "'?' -> exactly one", but http?://httpbin.org matches both http://httpbin.org and https://httpbin.org, should it be "'?' -> zero or one" precisely or maybe I misunderstood it?