System::Net::HttpRequestHeader 枚举

HttpRequestHeader enum

枚举请求头。

enum class HttpRequestHeader

名称描述
CacheControl0‘Cache-Control’ 头部。
连接1该 ‘Connection’ 头。
日期2该 ‘Date’ 头。
保持活动3该 ‘Keep-Alive’ 头。
Pragma4该 ‘Pragma’ 头。
Trailer5该 ‘Trailer’ 头。
TransferEncoding6该 ‘Transfer-Encoding’ 头。
Upgrade7该 ‘Upgrade’ 头。
Via8该 ‘Via’ 头。
Warning9该 ‘Warning’ 头。
Allow10该 ‘Allow’ 头。
ContentLength11该 ‘Content-Length’ 头。
ContentType12该 ‘Content-Type’ 头。
ContentEncoding13该 ‘Content-Encoding’ 头。
ContentLanguage14该 ‘Content-Language’ 头部。
ContentLocation15该 ‘Content-Location’ 头部。
ContentMd516该 ‘Content-MD5’ 头部。
ContentRange17该 ‘Content-Range’ 头部。
Expires18该 ‘Expires’ 头部。
LastModified19该 ‘Last-Modified’ 头部。
Accept20‘Accept’ 头。
AcceptCharset21‘Accept-Charset’ 头。
AcceptEncoding22‘Accept-Encoding’ 头。
AcceptLanguage23‘Accept-Language’ 头。
Authorization24‘Authorization’ 头。
Cookie25Cookie’ 头。
Expect26‘Expect’ 头。
From27‘From’ 头。
Host28‘Host’ 头。
IfMatch29‘If-Match’ 头。
IfModifiedSince30‘If-Modified-Since’ 头。
IfNoneMatch31‘If-None-Match’ 头。
IfRange32该 ‘If-Range’ 头部。
IfUnmodifiedSince33该 ‘If-Unmodified-Since’ 头部。
MaxForwards34该 ‘Max-Forwards’ 头部。
ProxyAuthorization35该 ‘Proxy-Authorization’ 头部。
Referer36该 ‘Referer’ 头部。
Range37该 ‘Range’ 头部。
Te38该 ‘TE’ 头部。
Translate39该 ‘Translate’ 头部。
UserAgent40该 ‘User-Agent’ 头部。

另见