util_http_headers
HTTP header parser and smuggling check — Parse a raw HTTP header block (headers=, one 'Name: value' per line, newlines as %0A; optional status or request line first) into structured fields: Content-Type params, Cache-Control directives with cacheability, every Set-Cookie with attributes, prefix rules and SameSite/Secure/HttpOnly flags, Content-Disposition incl. RFC 5987 filename*, Link (rel/params), Accept* lists sorted by q, HSTS with preload eligibility, Retry-After, HTTP dates to ISO, ETags (weak/strong), WWW-Authenticate challenges, Authorization scheme (credentials redacted; Basic username only), Forwarded/X-Forwarded-For, Server-Timing, Alt-Svc, Range/Content-Range, CSP directives, Permissions-Policy, rate-limit headers and more. Flags request-smuggling and protocol problems: Content-Length + Transfer-Encoding together, duplicate or non-numeric Content-Length, chunked not last, whitespace before the colon, obsolete line folding, invalid names, control characters, missing Host, duplicate singleton headers, CORS * with credentials. Verdict OK/WARNINGS/SUSPICIOUS. Max 65536 chars, 300 headers. Offline, no data stored. Price: $0.002 USDC (Base, via x402).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"headers": "<headers>"
},
"name": "util_http_headers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| headers | Yes | HTTP/1.1 200 OK Content-Type: text/html; charset=utf-8 Cache-Control: public, max-age=3600, stale-while-revalidate=60 Strict-Transport-Security: max-age=63072000; includeSubDomains; preload Set-Cookie: sid=abc123; Path=/; Secure; HttpOnly; SameSite=Lax |