Discuss this help topic in SecureBlackbox Forum

TElHTTPSClient.Head

TElHTTPSClient     See also     


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


Sends the HEAD request to server.

Declaration

[C#]
    int Head(string URL);

[VB.NET]
    Function Head(ByVal URL As String) As Integer

[Pascal]
    function Head(const URL : string) : integer;

[C++]
    int32_t Head(const std::string &URL);

[PHP]
    integer Head(string $URL)

[Java]
    int head(String URL);

Parameters

  • 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

Description

    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