从Go 1.6开始,http包在使用HTTPS 时对HTTP/2 协议有透明的支持。必须禁用HTTP/2 的程序可以通过将Transport.TLSNextProto(对于客户端)或Server.
確定! 回上一頁