HttpMethod.Head 属性
定义
表示一个 HTTP HEAD 协议方法。Represents an HTTP HEAD protocol method. 除了服务器在响应中只返回消息头不返回消息体以外,HEAD 方法和 GET 是一样的。The HEAD method is identical to GET except that the server only returns message-headers in the response, without a message-body.
public:
static property System::Net::Http::HttpMethod ^ Head { System::Net::Http::HttpMethod ^ get(); };
public static System.Net.Http.HttpMethod Head { get; }
member this.Head : System.Net.Http.HttpMethod
Public Shared ReadOnly Property Head As HttpMethod
属性值
返回 HttpMethod。Returns HttpMethod.