Skip to content

ForbiddenTrailer

[Source]

A trailer field carries a name that is not allowed in a trailer section.

RFC 9110 §6.5.1 forbids trailer fields that affect message framing, routing, request modifiers, authentication, or payload processing — for example Transfer-Encoding, Content-Length, and Host. A recipient must reject or ignore such a trailer; Stallion rejects, because honoring a framing field that arrives after the body is a request-smuggling vector. The trailer field's syntax may be perfectly valid — the fault is the field's presence in a trailer.

primitive val ForbiddenTrailer

Constructors

create

[Source]

new val create()
: ForbiddenTrailer val^

Returns


Public Functions

string

[Source]

fun box string()
: String iso^

Returns


eq

[Source]

fun box eq(
  that: ForbiddenTrailer val)
: Bool val

Parameters

Returns


ne

[Source]

fun box ne(
  that: ForbiddenTrailer val)
: Bool val

Parameters

Returns