Treatment head

http/client::head


Configuration

⬡ client: http/client::HttpClient

Inputs

⇥ headers: Block<Map> (std/data::Map)
⇥ url: Block<string>

Outputs

↦ failure: Block<string>
↦ headers: Block<Map> (std/data::Map)
↦ status: Block<HttpStatus> (http/status::HttpStatus)


Performs HTTP HEAD operation.

Request starts as soon as the URL and headers are transmitted.

Inputs:

  • url: input gives the URL to call HEAD on (combined with optionnal base from the client model).
  • headers: headers to send in request.

Outputs:

  • status: HTTP status response.
  • headers: headers received in response.
  • failure: emitted if the request failed technically, containing the failure message.

Also see MDN documentation.