The [details object](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/webRequest/onResponseStarted#details) currently exposes fields such as `ip` and `statusCode` but not protocol. As such it's not possible to tell if the request used "HTTP/1.1 or H2, H3". This info is currently present in devtools, and [PerformanceResourceTiming.nextHopProtocol](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/nextHopProtocol) (only available in the content page).
Bug 2056277 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
The [details object](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/webRequest/onResponseStarted#details) currently exposes fields such as `ip` and `statusCode` but not protocol. As such it's not possible to tell if the request used "HTTP/1.1 or H2, H3". This info is currently present in devtools, and [PerformanceResourceTiming.nextHopProtocol](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/nextHopProtocol) (only available in the content page). See potential users in [IETF mailing list thread](https://mailarchive.ietf.org/arch/msg/happy/_SeeoARHtvOL_it5FJ-tfjH7Jh8/)