Factor Documentation
|
Home
|
Glossary
|
Search
factorcode.org
<head-request> ( url -- request )
HTTP client
>
HEAD requests with the HTTP client
Prev:
http-head ( url -- response data )
Vocabulary
http.client
Inputs and outputs
url
a
url
or
string
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
USING:
http.client.private
;
IN:
http.client
:
<head-request>
( url -- request )
"HEAD"
<client-request>
;