setHeader

override fun setHeader(name: String, values: List<String>?)

Overrides request headers. Will remove header name if passed values is null or set values otherwise.