net/http: update Transport doc example to not disable http2
The old Transport example ended up disabling HTTP/2. Use a better example. Fixes #17051 Fixes #17296 Change-Id: I6feca168744131916e8bf56c829b4d4b50e304ee Reviewed-on: https://go-review.googlesource.com/33094Reviewed-by: Ian Lance Taylor <iant@golang.org>
Showing
Please register or sign in to comment