header

fun HttpRequestBuilder.header(key: String, value: Any?)

Sets a single header of key with a specific value if the value is not null.