Handbook
Glossary
<head-request> ( url -- request )
HTTP client
ยป
HEAD requests with the HTTP client
Prev:
http-head* ( url -- response data )
Vocabulary
http
.
client
Inputs
url
an
url
or a
string
Outputs
request
a
request
Word description
Constructs an HTTP HEAD request for retrieving the URL.
Notes
The request can be passed on to
http-request
, possibly after cookies and headers are set.
Definition
IN:
http.client
:
<head-request>
( url -- request )
"HEAD"
<client-request>
;