Skip to content

InvalidFieldValue

[Source]

A header or trailer field value contains a forbidden byte.

RFC 9110 ยง5.5 requires rejecting a field value containing NUL. (Bare CR and LF in a value are caught earlier by the line policy as BareCRLF; this error covers the remaining forbidden byte, NUL.)

primitive val InvalidFieldValue

Constructors

create

[Source]

new val create()
: InvalidFieldValue val^

Returns


Public Functions

string

[Source]

fun box string()
: String iso^

Returns


eq

[Source]

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

Parameters

Returns


ne

[Source]

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

Parameters

Returns