UnsafeHeaderException

class UnsafeHeaderException : IllegalArgumentException

Thrown when an attempt to set unsafe header detected. A header is unsafe if listed in HttpHeaders.UnsafeHeadersList.

Constructors

<init>

UnsafeHeaderException(header: String)

Thrown when an attempt to set unsafe header detected. A header is unsafe if listed in HttpHeaders.UnsafeHeadersList.

Extension Properties

rootCause

val Throwable.rootCause: Throwable?

Root cause of the Throwable.