append

fun append(name: String, value: String, safeOnly: Boolean = true)

Appends a response header with the specified name and value.

Parameters

safeOnly

prevents from setting unsafe headers; true by default