简体   繁体   中英

HTTP2 HAR export shows HTTP Version “unknown” in chrome?

I was looking at network requests from my Chrome Version 41.0.2272.104 (64-bit) and saw a curiosity with a request to Google Analytics' collection endpoint:

Google Analytics(分析)请求的屏幕截图

There are several headers I do not recognize: :authority: , :method: , :path: , :scheme:

:authority: seems to replace the Host header of HTTP 1.x, the :method: I'd expect to be an HTTP verb, not a header

A HAR export of Chrome reports the HTTP version as "Unknown" - see http://pastebin.com/1LjRVeHb

What's going on?

I just found the "funky" : prefixed headers in the HTTP 2 Spec as "Pseudo headers".

However seeing them in the HAR as "HTTP Version: Unknown" seems odd. Is there a Bug with chrome's own HAR export showing the request as HTTP Version Unknown? Could the "server" response header with "Golfe2" reveal any more information?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM