Http11Probe

Multi Header β€” Cookie Handling

Test ID COOK-MULTI-HEADER
Category Cookies
Scored No
RFC Level N/A
Expected 2xx with both cookies

What it sends

Two separate Cookie headers β€” should be folded per RFC 6265 Β§5.4.

GET /echo HTTP/1.1\r\n
Host: localhost:8080\r\n
Cookie: a=1\r\n
Cookie: b=2\r\n
\r\n

Why it matters

RFC 6265 Β§5.4 says the user agent SHOULD combine multiple cookie values with ; , but servers must handle receiving them separately since some clients and proxies split them.

Verdicts

  • Pass β€” 2xx with both a=1 and b=2 in body
  • Warn β€” Only one cookie echoed, or 400
  • Fail β€” 500 (crash)

Sources

Http11Probe β€” HTTP/1.1 compliance & smuggling testerSource on GitHub