Is there any way of knowing http protocol using fetch? #16396
Unanswered
jupegarnica
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the fetch
Response
there is not clue about which prococol is used (HTTP/1.1 or HTTP/2).I think is not even consider in the standard:
https://fetch.spec.whatwg.org/#response-class
So, anyone knows a way to know the procolo used. Maybe some low level api? Deno.createHttpClient?https://doc.deno.land/deno/unstable/~/Deno.createHttpClient
Beta Was this translation helpful? Give feedback.
All reactions