Add protocol to webrequest details object
Categories
(WebExtensions :: Request Handling, enhancement)
Tracking
(Not tracked)
People
(Reporter: valentin, Unassigned)
Details
The details object 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 (only available in the content page).
See potential users in IETF mailing list thread
Comment 1•1 month ago
|
||
Does statusLine cover your needs?
string. HTTP status line of the response or the 'HTTP/0.9 200 OK' string for HTTP/0.9 responses (i.e., responses that lack a status line) or an empty string if there are no headers.
Comment 2•1 month ago
|
||
Interesting, I think it does. I'm able to see HTTP/1.1, HTTP/2.0, and HTTP/3.0 in Firefox's statusLine while browsing around.
But Chrome seems to be stuck at HTTP/1.1: https://issues.chromium.org/issues/41432835
Updated•1 month ago
|
| Reporter | ||
Updated•1 month ago
|
Description
•