diff --git a/src/net/http/httptest/server.go b/src/net/http/httptest/server.go index 8794159726..e377496c06 100644 --- a/src/net/http/httptest/server.go +++ b/src/net/http/httptest/server.go @@ -297,9 +297,8 @@ func (s *Server) Certificate() *x509.Certificate { } // Client returns an HTTP client configured for making requests to the server. -// It is configured to trust the server's TLS test certificate and will -// close its idle connections on [Server.Close]. -// It only redirects requests to the base URL (Server.URL) to the test server. +// It is a standard http.Client that is configured to trust the server's TLS test certificate and will +// close its idle connections on [Server.Close]. To hit the test server, use the base URL (Server.URL) in requests. func (s *Server) Client() *http.Client { return s.client }