From: Damien Neil Date: Wed, 11 Dec 2024 17:49:36 +0000 (-0800) Subject: net/http: document zero value of Protocols X-Git-Tag: go1.24rc1~3^2~3 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=d5c1333eb452e37f80af797c6c26a93b00697f7f;p=gostls13.git net/http: document zero value of Protocols For #67814 Change-Id: I182e9c7e720493adb9d2384336e757dace818525 Reviewed-on: https://go-review.googlesource.com/c/go/+/635335 LUCI-TryBot-Result: Go LUCI Auto-Submit: Damien Neil Reviewed-by: Austin Clements --- diff --git a/src/net/http/http.go b/src/net/http/http.go index 4da77889b1..32ff7e2008 100644 --- a/src/net/http/http.go +++ b/src/net/http/http.go @@ -17,6 +17,7 @@ import ( ) // Protocols is a set of HTTP protocols. +// The zero value is an empty set of protocols. // // The supported protocols are: //