http-head ( url -- response data )
HTTP client > HEAD requests with the HTTP client

Next:http-head* ( url -- response data )


Vocabulary
http.client

Inputs and outputs
urlan url or a string
responsea response
dataa sequence


Word description
Same as http-get except that the server is not supposed to return a message-body in the response, as per RFC2616. However in practise, most web servers respond to GET and HEAD method calls with identical responses.

Errors
Throws an error if the HTTP request fails.

See also
http-head*

Definition