HttpHeaders

object HttpHeaders

Properties

ALPN

val ALPN: String

Accept

val Accept: String

AcceptCharset

val AcceptCharset: String

AcceptEncoding

val AcceptEncoding: String

AcceptLanguage

val AcceptLanguage: String

AcceptRanges

val AcceptRanges: String

AccessControlAllowCredentials

val AccessControlAllowCredentials: String

AccessControlAllowHeaders

val AccessControlAllowHeaders: String

AccessControlAllowMethods

val AccessControlAllowMethods: String

AccessControlAllowOrigin

val AccessControlAllowOrigin: String

AccessControlExposeHeaders

val AccessControlExposeHeaders: String

AccessControlMaxAge

val AccessControlMaxAge: String

AccessControlRequestHeaders

val AccessControlRequestHeaders: String

AccessControlRequestMethod

val AccessControlRequestMethod: String

Age

val Age: String

Allow

val Allow: String

AuthenticationInfo

val AuthenticationInfo: String

Authorization

val Authorization: String

CacheControl

val CacheControl: String

Connection

val Connection: String

ContentDisposition

val ContentDisposition: String

ContentEncoding

val ContentEncoding: String

ContentLanguage

val ContentLanguage: String

ContentLength

val ContentLength: String

ContentLocation

val ContentLocation: String

ContentRange

val ContentRange: String

ContentType

val ContentType: String

Cookie

val Cookie: String

DASL

val DASL: String

DAV

val DAV: String

Date

val Date: String

Depth

val Depth: String

Destination

val Destination: String

ETag

val ETag: String

Expect

val Expect: String

Expires

val Expires: String

Forwarded

val Forwarded: String

From

val From: String

HTTP2Settings

val HTTP2Settings: String

Host

val Host: String

If

val If: String

IfMatch

val IfMatch: String

IfModifiedSince

val IfModifiedSince: String

IfNoneMatch

val IfNoneMatch: String

IfRange

val IfRange: String

IfScheduleTagMatch

val IfScheduleTagMatch: String

IfUnmodifiedSince

val IfUnmodifiedSince: String

LastModified

val LastModified: String

Link

val Link: String

Location

val Location: String

LockToken

val LockToken: String

MIMEVersion

val MIMEVersion: String

MaxForwards

val MaxForwards: String

OrderingType

val OrderingType: String

Origin

val Origin: String

Overwrite

val Overwrite: String

Position

val Position: String

Pragma

val Pragma: String

Prefer

val Prefer: String

PreferenceApplied

val PreferenceApplied: String

ProxyAuthenticate

val ProxyAuthenticate: String

ProxyAuthenticationInfo

val ProxyAuthenticationInfo: String

ProxyAuthorization

val ProxyAuthorization: String

PublicKeyPins

val PublicKeyPins: String

PublicKeyPinsReportOnly

val PublicKeyPinsReportOnly: String

Range

val Range: String

Referrer

val Referrer: String

RetryAfter

val RetryAfter: String

SLUG

val SLUG: String

ScheduleReply

val ScheduleReply: String

ScheduleTag

val ScheduleTag: String

SecWebSocketAccept

val SecWebSocketAccept: String

SecWebSocketExtensions

val SecWebSocketExtensions: String

SecWebSocketKey

val SecWebSocketKey: String

SecWebSocketProtocol

val SecWebSocketProtocol: String

SecWebSocketVersion

val SecWebSocketVersion: String

Server

val Server: String

SetCookie

val SetCookie: String

StrictTransportSecurity

val StrictTransportSecurity: String

TE

val TE: String

Timeout

val Timeout: String

Trailer

val Trailer: String

TransferEncoding

val TransferEncoding: String

UnsafeHeaders

val UnsafeHeaders: Array<String>

Upgrade

val Upgrade: String

UserAgent

val UserAgent: String

Vary

val Vary: String

Via

val Via: String

WWWAuthenticate

val WWWAuthenticate: String

Warning

val Warning: String

XCorrelationId

val XCorrelationId: String

XForwardedFor

val XForwardedFor: String

XForwardedHost

val XForwardedHost: String

XForwardedProto

val XForwardedProto: String

XForwardedServer

val XForwardedServer: String

XHttpMethodOverride

val XHttpMethodOverride: String

XRequestId

val XRequestId: String

Functions

isUnsafe

fun isUnsafe(header: String): Boolean

Check if header is unsafe. Header is unsafe if listed in UnsafeHeaders