We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09f2aef commit 50bd6bdCopy full SHA for 50bd6bd
src/net/http/httptest/server.go
@@ -297,8 +297,9 @@ func (s *Server) Certificate() *x509.Certificate {
297
}
298
299
// Client returns an HTTP client configured for making requests to the server.
300
-// It is a standard http.Client that is configured to trust the server's TLS test certificate and will
301
-// close its idle connections on [Server.Close]. To hit the test server, use the base URL (Server.URL) in requests.
+// It is configured to trust the server's TLS test certificate and will
+// close its idle connections on [Server.Close].
302
+// Use Server.URL as the base URL to send requests to the server.
303
func (s *Server) Client() *http.Client {
304
return s.client
305
0 commit comments