Skip to content

InvalidChunkExtension

[Source]

A chunk extension contains forbidden or malformed bytes.

A chunk-ext is *( BWS ";" BWS chunk-ext-name [ BWS "=" BWS chunk-ext-val ] ) where names are tokens and values are token or quoted-string (RFC 9112 §7.1.1). Optional whitespace within the extension list is tolerated; whitespace between the chunk-size and the first ; is rejected as InvalidChunk (RFC 9110 §5.6.3 permits rejecting BWS). Unvalidated chunk-extension bytes are a smuggling surface, so they are parsed rather than skipped to CRLF.

primitive val InvalidChunkExtension

Constructors

create

[Source]

new val create()
: InvalidChunkExtension val^

Returns


Public Functions

string

[Source]

fun box string()
: String iso^

Returns


eq

[Source]

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

Parameters

Returns


ne

[Source]

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

Parameters

Returns