http_head
Getting a header via the HTTP protocol. The method sends a HEAD request to the specified URL address and partially parses the received data.
func uint http_head (
str url,
str head,
httpinfo hi
)
str url,
str head,
httpinfo hi
)
Parameters
url | The URL address for getting the header. |
head | The string for getting the text of the header. |
hi | The variable of the httpinfo type for getting information about the header. |
Return value
If the function succeeds, the return value is 1. If the function fails, the return value is 0.
Related links | Source |