BadHostHeader¶
A request's Host header field is missing (HTTP/1.1) or duplicated (any version).
RFC 9110 §7.2 / RFC 9112 §3.2 require every HTTP/1.1 request to carry exactly one Host field; a server must answer 400 to one that lacks Host or has more than one. Stallion also rejects a duplicate Host on HTTP/1.0 — a second Host line is request-smuggling surface regardless of version. Enforced at the protocol layer (where the assembled headers are known), not the parser.
Constructors¶
create¶
Returns¶
- BadHostHeader val^
Public Functions¶
string¶
Returns¶
- String iso^
eq¶
Parameters¶
- that: BadHostHeader val
Returns¶
- Bool val
ne¶
Parameters¶
- that: BadHostHeader val
Returns¶
- Bool val