MCPcopy Create free account
hub / github.com/php/frankenphp / TestRejectInvalidHeaders_worker

Function TestRejectInvalidHeaders_worker

frankenphp_test.go:1036–1038  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

1034
1035func TestRejectInvalidHeaders_module(t *testing.T) { testRejectInvalidHeaders(t, &testOptions{}) }
1036func TestRejectInvalidHeaders_worker(t *testing.T) {
1037 testRejectInvalidHeaders(t, &testOptions{workerScript: "headers.php"})
1038}
1039func testRejectInvalidHeaders(t *testing.T, opts *testOptions) {
1040 invalidHeaders := [][]string{
1041 {"Content-Length", "-1"},

Callers

nothing calls this directly

Calls 1

testRejectInvalidHeadersFunction · 0.85

Tested by

no test coverage detected