]> Cypherpunks repositories - gostls13.git/commit
net/http: clarify docs on Request.Proto field
authorBrad Fitzpatrick <bradfitz@golang.org>
Mon, 18 Jan 2016 06:38:56 +0000 (06:38 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Mon, 18 Jan 2016 23:42:56 +0000 (23:42 +0000)
commit3092a63a649ee95865e8b1da4eb2ee4bfe634a7e
tree00af8ce0532fb5a0bad0205d3cae753787ab8425
parent5b588e668276b74b69be41fccbbc6135606d7d69
net/http: clarify docs on Request.Proto field

No need to say "by default" because there is no alternative and no way
to override. Always HTTP/2.0 is officially spelled HTTP/2 these days.

Fixes #13985 harder

Change-Id: Ib1ec03cec171ca865342b8e7452cd4c707d7b770
Reviewed-on: https://go-review.googlesource.com/18720
Reviewed-by: Rob Pike <r@golang.org>
src/net/http/request.go
src/net/http/transport.go