headers
Entry point for header configuration. Supports two syntaxes:
Lambda block — for full ResponseHeaders access:
headers {
append(HttpHeaders.Location, "/things/$id")
}Content copied to clipboard
+= shorthand — for simple name/value pairs:
headers += "Foo" to "bar"Content copied to clipboard