go/src/net/http/transport_internal_test.go

// Issue 15446: incorrect wrapping of errors when server closes an idle connection.
func TestTransportPersistConnReadLoopEOF(t *testing.T) {}

func isNothingWrittenError(err error) bool {}

func isTransportReadFromServerError(err error) bool {}

func newLocalListener(t *testing.T) net.Listener {}

func dummyRequest(method string) *Request {}

func dummyRequestWithBody(method string) *Request {}

func dummyRequestWithBodyNoGetBody(method string) *Request {}

type issue22091Error

func (issue22091Error) IsHTTP2NoCachedConnError() {}

func (issue22091Error) Error() string             {}

func TestTransportShouldRetryRequest(t *testing.T) {}

type roundTripFunc

func (f roundTripFunc) RoundTrip(r *Request) (*Response, error) {}

// Issue 25009
func TestTransportBodyAltRewind(t *testing.T) {}