ktor-http / io.ktor.http / IllegalHeaderValueException

IllegalHeaderValueException

class IllegalHeaderValueException : IllegalArgumentException

Thrown when an illegal header value was used. A header value should only consist from visible characters, spaces and/or HTAB (0x09).

Constructors

<init>

IllegalHeaderValueException(headerValue: String, position: Int)

Thrown when an illegal header value was used. A header value should only consist from visible characters, spaces and/or HTAB (0x09).

Properties

headerValue

val headerValue: String

that was tried to use

position

val position: Int

at which validation failed