go/src/net/http/httputil/dump_test.go

type eofReader

func (n eofReader) Close() error {}

func (n eofReader) Read([]byte) (int, error) {}

type dumpTest

var dumpTests

func TestDumpRequest(t *testing.T) {}

// deadline returns the time which is needed before t.Deadline()
// if one is configured and it is s greater than needed in the future,
// otherwise defaultDelay from the current time.
func deadline(t *testing.T, defaultDelay, needed time.Duration) time.Time {}

func chunk(s string) string {}

func mustParseURL(s string) *url.URL {}

func mustNewRequest(method, url string, body io.Reader) *http.Request {}

func mustReadRequest(s string) *http.Request {}

var dumpResTests

func TestDumpResponse(t *testing.T) {}

// Issue 38352: Check for deadlock on canceled requests.
func TestDumpRequestOutIssue38352(t *testing.T) {}