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) { … }
func TestTransportBodyAltRewind(t *testing.T) { … }