Discuss this help topic in SecureBlackbox Forum


TElHTTPSClient     See also     

Filter: C#/Java  VB.NET  Pascal  C++  PHP  

Sends the HEAD request to server.


    int Head(string URL);

    Function Head(ByVal URL As String) As Integer

    function Head(const URL: string): integer;

    int32_t Head(const std::string &URL);

    integer Head(string $URL)


  • URL - specifies resource address. This method does NOT encode the parameters that you pass in the URL, they need to be encoded prior to calling the method.

Return value

    HTTP result code


    Use this method to send 'HEAD' request to server. This method is very similar to Get method, but in response for 'HEAD' request server doesn't send the resource, only HTTP headers, containing information about it. Use this method to get information about resource - such as Content-Length, Content-Type and others.

See also:     Delete     Post     Get     Put     Trace     Options    

Discuss this help topic in SecureBlackbox Forum