[size=xx-large]http2怎么调试?[/size]
关于http2的调试工具
说到这里,个人喜欢chrome和firefox。
直接上图,不想说太多,你懂的。
[size=xx-large]1.chrome[/size]
chrome从40版本开始支持http2,所以无需任何插件安装。
HTTP/2 and SPDY indicator这个插件方便调试chrome上的http2
访问普通的https如图所示:
[img]http://dl2.iteye.com/upload/attachment/0112/5860/4a8fadf7-da28-3dde-ba34-31a2f06e10c7.png[/img]
访问http2如图所示,会多一些首部信息:
[img]http://dl2.iteye.com/upload/attachment/0112/5862/a2304ea9-2524-30b2-bd50-3b5b47d43aeb.png[/img]
其中,通过管理页面,可以查看
chrome://net-internals/#http2 如图所示:
[img]http://dl2.iteye.com/upload/attachment/0112/5864/333845b3-3335-33dc-b4b5-fcb86e27654d.png[/img]
[size=xx-large]2.firefox[/size]
需要安装插件:在组件里搜索http2,会找到HTTP/2 and SPDY indicator
访问普通的https如图所示,会有版本号
[img]http://dl2.iteye.com/upload/attachment/0112/5866/51f6a37b-1ee2-360e-b9dc-31d7d89e7093.png[/img]
访问http2如图所示,会有版本号,同时地址栏里面会有个闪电符号
[img]http://dl2.iteye.com/upload/attachment/0112/5868/e7180e0a-5ab6-3525-9735-d8398b81f06a.png[/img]
[size=xx-large]参考文章[/size]
chrome调试http2技巧
http://www.open-open.com/lib/view/open1433745095395.html
关于http2的调试工具
说到这里,个人喜欢chrome和firefox。
直接上图,不想说太多,你懂的。
[size=xx-large]1.chrome[/size]
chrome从40版本开始支持http2,所以无需任何插件安装。
HTTP/2 and SPDY indicator这个插件方便调试chrome上的http2
访问普通的https如图所示:
[img]http://dl2.iteye.com/upload/attachment/0112/5860/4a8fadf7-da28-3dde-ba34-31a2f06e10c7.png[/img]
访问http2如图所示,会多一些首部信息:
[img]http://dl2.iteye.com/upload/attachment/0112/5862/a2304ea9-2524-30b2-bd50-3b5b47d43aeb.png[/img]
其中,通过管理页面,可以查看
chrome://net-internals/#http2 如图所示:
[img]http://dl2.iteye.com/upload/attachment/0112/5864/333845b3-3335-33dc-b4b5-fcb86e27654d.png[/img]
[size=xx-large]2.firefox[/size]
需要安装插件:在组件里搜索http2,会找到HTTP/2 and SPDY indicator
访问普通的https如图所示,会有版本号
[img]http://dl2.iteye.com/upload/attachment/0112/5866/51f6a37b-1ee2-360e-b9dc-31d7d89e7093.png[/img]
访问http2如图所示,会有版本号,同时地址栏里面会有个闪电符号
[img]http://dl2.iteye.com/upload/attachment/0112/5868/e7180e0a-5ab6-3525-9735-d8398b81f06a.png[/img]
[size=xx-large]参考文章[/size]
chrome调试http2技巧
http://www.open-open.com/lib/view/open1433745095395.html