HttpMethod.Head Property

.NET Framework (current version)
 

Represents an HTTP HEAD protocol method. The HEAD method is identical to GET except that the server only returns message-headers in the response, without a message-body.

Namespace:   System.Net.Http
Assembly:  System.Net.Http (in System.Net.Http.dll)

public static HttpMethod Head { get; }

Property Value

Type: System.Net.Http.HttpMethod

Returns HttpMethod.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top
Show: