func TestInputStreamReader(t *testing.T) { … } func TestInputStreamNullLocation(t *testing.T) { … } type testTransport … func (tt *testTransport) RoundTrip(req *http.Request) (*http.Response, error) { … } func fakeTransport(mime, message string) http.RoundTripper { … } func TestInputStreamContentType(t *testing.T) { … } func TestInputStreamTransport(t *testing.T) { … } func fakeInternalServerErrorTransport(mime, message string) http.RoundTripper { … } func TestInputStreamInternalServerErrorTransport(t *testing.T) { … } func TestInputStreamRedirects(t *testing.T) { … }