ContentLengthWithTransferEncoding¶
A request carries both Content-Length and Transfer-Encoding header fields.
RFC 9112 §6.3 forbids this combination ("A sender MUST NOT send a Content-Length header field in any message that contains a Transfer-Encoding header field") because it is a request-smuggling vector: an intermediary that honors one header while Stallion honors the other can be desynchronized, letting a smuggled request slip past. Rather than pick a framing, Stallion rejects the message — the presence of both headers is itself the fault, regardless of what either header's value resolves to.
Constructors¶
create¶
Returns¶
Public Functions¶
string¶
Returns¶
- String iso^
eq¶
Parameters¶
- that: ContentLengthWithTransferEncoding val
Returns¶
- Bool val
ne¶
Parameters¶
- that: ContentLengthWithTransferEncoding val
Returns¶
- Bool val