http2的调试方法

[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
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值