Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
net/http: add CONNECT bidi example #28178
https://go-review.googlesource.com/c/go/+/123156 is removing some documentation from http.Transport that says not to use CONNECT requests with Transport because it's adding CONNECT support.
We should also add examples. CL 123156 has a test which is close at least, but could be cleaned up and be made less unit-testy.