go/src/net/http/cgi/integration_test.go

// This test is a CGI host (testing host.go) that runs its own binary
// as a child process testing the other half of CGI (child.go).
func TestHostingOurselves(t *testing.T) {}

type customWriterRecorder

func (r *customWriterRecorder) Write(p []byte) (n int, err error) {}

type limitWriter

func (w *limitWriter) Write(p []byte) (n int, err error) {}

// If there's an error copying the child's output to the parent, test
// that we kill the child.
func TestKillChildAfterCopyError(t *testing.T) {}

// Test that a child handler writing only headers works.
// golang.org/issue/7196
func TestChildOnlyHeaders(t *testing.T) {}

// Test that a child handler does not receive a nil Request Body.
// golang.org/issue/39190
func TestNilRequestBody(t *testing.T) {}

func TestChildContentType(t *testing.T) {}

// golang.org/issue/7198
func Test500WithNoHeaders(t *testing.T)     {}

func Test500WithNoContentType(t *testing.T) {}

func Test500WithEmptyHeaders(t *testing.T)  {}

func want500Test(t *testing.T, path string) {}