System::Net::HttpResponseHeader 枚举

HttpResponseHeader enum

枚举 HTTP 响应头。

enum class HttpResponseHeader

名称描述
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’ 头部。
AcceptRanges20该 ‘Accept-Ranges’ 头部。
Age21该 ‘Age’ 头部。
ETag22该 ‘ETag’ 头部。
Location23该 ‘Location’ 头部。
ProxyAuthenticate24该 ‘Proxy-Authenticate’ 头部。
RetryAfter25该 ‘Retry-After’ 头部。
Server26‘Server’ 头部。
SetCookie27‘Set-Cookie’ 头部。
Vary28‘Vary’ 头部。
WwwAuthenticate29‘WWW-Authenticate’ 头部。

另见