header

fun header(name: String, value: String): Request

adds the given http header to the request

Parameters

name

name of the http header to add

value

value of the header field