accept

fun accept(value: String): Request

adds the given Accept value to the http headers, e.g "application/pdf"

Parameters

value

media type to accept