go/src/net/http/transfer_test.go

func TestBodyReadBadTrailer(t *testing.T) {}

func TestFinalChunkedBodyReadEOF(t *testing.T) {}

func TestDetectInMemoryReaders(t *testing.T) {}

type mockTransferWriter

var _

func (w *mockTransferWriter) ReadFrom(r io.Reader) (int64, error) {}

func (w *mockTransferWriter) Write(p []byte) (int, error) {}

func TestTransferWriterWriteBodyReaderTypes(t *testing.T) {}

func TestParseTransferEncoding(t *testing.T) {}

// issue 39017 - disallow Content-Length values such as "+3"
func TestParseContentLength(t *testing.T) {}