Skip to content

Commit 5f44b96

Browse files
committed
Add one more edge case
1 parent 5ee9ac5 commit 5f44b96

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/http_test.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ const testCases: TestCase[] = [
1414
description: "Valid GET request",
1515
expectedStatus: [[200, 299]],
1616
},
17+
{
18+
request: "GET / HTTP/1.1\r\nhoSt:\texample.com\r\nempty:\r\n\r\n",
19+
description: "Valid GET request with edge cases",
20+
expectedStatus: [[200, 299]],
21+
},
1722
{
1823
request: "GET / HTTP/1.1\r\nHost: example.com\r\nX-Invalid[]: test\r\n\r\n",
1924
description: "Invalid header characters",

0 commit comments

Comments
 (0)