headForHeaders

open fun headForHeaders(url: String, urlVariables: Array<Any>): HttpHeaders

Retrieve all headers of the resource specified by the URI template.

URI Template variables are expanded using the given URI variables, if any.

Return

all HTTP headers of that resource

Parameters

url

the URL

urlVariables

the variables to expand the template

See also


open fun headForHeaders(url: String, urlVariables: Map<String, out Any>): HttpHeaders

Retrieve all headers of the resource specified by the URI template.

URI Template variables are expanded using the given map.

Return

all HTTP headers of that resource

Parameters

url

the URL

urlVariables

the map containing variables for the URI template

See also


Retrieve all headers of the resource specified by the URL.

Return

all HTTP headers of that resource

Parameters

url

the URL

See also