Skip to content

class HeaderNames

cangjie
public class HeaderNames

功能:定义常用 HTTP 头名称常量。

成员概览

成员功能
let Accept表示 Accept 头名称。
let AcceptCharset表示 Accept-Charset 头名称。
let AcceptEncoding表示 Accept-Encoding 头名称。
let AcceptLanguage表示 Accept-Language 头名称。
let AcceptRanges表示 Accept-Ranges 头名称。
let AccessControlAllowCredentials表示 Access-Control-Allow-Credentials 头名称。
let AccessControlAllowHeaders表示 Access-Control-Allow-Headers 头名称。
let AccessControlAllowMethods表示 Access-Control-Allow-Methods 头名称。
let AccessControlAllowOrigin表示 Access-Control-Allow-Origin 头名称。
let AccessControlExposeHeaders表示 Access-Control-Expose-Headers 头名称。
let AccessControlMaxAge表示 Access-Control-Max-Age 头名称。
let AccessControlRequestHeaders表示 Access-Control-Request-Headers 头名称。
let AccessControlRequestMethod表示 Access-Control-Request-Method 头名称。
let Age表示 Age 头名称。
let Allow表示 Allow 头名称。
let AltSvc表示 Alt-Svc 头名称。
let Authority表示 :authority 头名称。
let Authorization表示 Authorization 头名称。
let Baggage表示 baggage 头名称。
let CacheControl表示 Cache-Control 头名称。
let Connection表示 Connection 头名称。
let ContentDisposition表示 Content-Disposition 头名称。
let ContentEncoding表示 Content-Encoding 头名称。
let ContentLanguage表示 Content-Language 头名称。
let ContentLength表示 Content-Length 头名称。
let ContentLocation表示 Content-Location 头名称。
let ContentMD5表示 Content-MD5 头名称。
let ContentRange表示 Content-Range 头名称。
let ContentSecurityPolicy表示 Content-Security-Policy 头名称。
let ContentSecurityPolicyReportOnly表示 Content-Security-Policy-Report-Only 头名称。
let ContentType表示 Content-Type 头名称。
let CorrelationContext表示 Correlation-Context 头名称。
let Cookie表示 Cookie 头名称。
let Date表示 Date 头名称。
let DNT表示 DNT 头名称。
let ETag表示 ETag 头名称。
let Expires表示 Expires 头名称。
let Expect表示 Expect 头名称。
let From表示 From 头名称。
let GrpcAcceptEncoding表示 Grpc-Accept-Encoding 头名称。
let GrpcEncoding表示 Grpc-Encoding 头名称。
let GrpcMessage表示 Grpc-Message 头名称。
let GrpcStatus表示 Grpc-Status 头名称。
let GrpcTimeout表示 Grpc-Timeout 头名称。
let Host表示 Host 头名称。
let KeepAlive表示 Keep-Alive 头名称。
let IfMatch表示 If-Match 头名称。
let IfModifiedSince表示 If-Modified-Since 头名称。
let IfNoneMatch表示 If-None-Match 头名称。
let IfRange表示 If-Range 头名称。
let IfUnmodifiedSince表示 If-Unmodified-Since 头名称。
let LastModified表示 Last-Modified 头名称。
let Link表示 Link 头名称。
let Location表示 Location 头名称。
let MaxForwards表示 Max-Forwards 头名称。
let Method表示 :method 头名称。
let Origin表示 Origin 头名称。
let Path表示 :path 头名称。
let Pragma表示 Pragma 头名称。
let ProxyAuthenticate表示 Proxy-Authenticate 头名称。
let ProxyAuthorization表示 Proxy-Authorization 头名称。
let ProxyConnection表示 Proxy-Connection 头名称。
let Range表示 Range 头名称。
let Referer表示 Referer 头名称。
let RetryAfter表示 Retry-After 头名称。
let RequestId表示 Request-Id 头名称。
let Scheme表示 :scheme 头名称。
let SecWebSocketAccept表示 Sec-WebSocket-Accept 头名称。
let SecWebSocketKey表示 Sec-WebSocket-Key 头名称。
let SecWebSocketProtocol表示 Sec-WebSocket-Protocol 头名称。
let SecWebSocketVersion表示 Sec-WebSocket-Version 头名称。
let SecWebSocketExtensions表示 Sec-WebSocket-Extensions 头名称。
let Server表示 Server 头名称。
let SetCookie表示 Set-Cookie 头名称。
let Status表示 :status 头名称。
let StrictTransportSecurity表示 Strict-Transport-Security 头名称。
let TE表示 TE 头名称。
let Trailer表示 Trailer 头名称。
let TransferEncoding表示 Transfer-Encoding 头名称。
let Translate表示 Translate 头名称。
let TraceParent表示 traceparent 头名称。
let TraceState表示 tracestate 头名称。
let Upgrade表示 Upgrade 头名称。
let UpgradeInsecureRequests表示 Upgrade-Insecure-Requests 头名称。
let UserAgent表示 User-Agent 头名称。
let Vary表示 Vary 头名称。
let Via表示 Via 头名称。
let Warning表示 Warning 头名称。
let WebSocketSubProtocols表示 Sec-WebSocket-Protocol 头名称。
let WWWAuthenticate表示 WWW-Authenticate 头名称。
let XContentTypeOptions表示 X-Content-Type-Options 头名称。
let XFrameOptions表示 X-Frame-Options 头名称。
let XPoweredBy表示 X-Powered-By 头名称。
let XRequestedWith表示 X-Requested-With 头名称。
let XUACompatible表示 X-UA-Compatible 头名称。
let XXSSProtection表示 X-XSS-Protection 头名称。

let Accept

cangjie
public static let Accept = "Accept"

功能:表示 Accept 头名称。

let AcceptCharset

cangjie
public static let AcceptCharset = "Accept-Charset"

功能:表示 Accept-Charset 头名称。

let AcceptEncoding

cangjie
public static let AcceptEncoding = "Accept-Encoding"

功能:表示 Accept-Encoding 头名称。

let AcceptLanguage

cangjie
public static let AcceptLanguage = "Accept-Language"

功能:表示 Accept-Language 头名称。

let AcceptRanges

cangjie
public static let AcceptRanges = "Accept-Ranges"

功能:表示 Accept-Ranges 头名称。

let AccessControlAllowCredentials

cangjie
public static let AccessControlAllowCredentials = "Access-Control-Allow-Credentials"

功能:表示 Access-Control-Allow-Credentials 头名称。

let AccessControlAllowHeaders

cangjie
public static let AccessControlAllowHeaders = "Access-Control-Allow-Headers"

功能:表示 Access-Control-Allow-Headers 头名称。

let AccessControlAllowMethods

cangjie
public static let AccessControlAllowMethods = "Access-Control-Allow-Methods"

功能:表示 Access-Control-Allow-Methods 头名称。

let AccessControlAllowOrigin

cangjie
public static let AccessControlAllowOrigin = "Access-Control-Allow-Origin"

功能:表示 Access-Control-Allow-Origin 头名称。

let AccessControlExposeHeaders

cangjie
public static let AccessControlExposeHeaders = "Access-Control-Expose-Headers"

功能:表示 Access-Control-Expose-Headers 头名称。

let AccessControlMaxAge

cangjie
public static let AccessControlMaxAge = "Access-Control-Max-Age"

功能:表示 Access-Control-Max-Age 头名称。

let AccessControlRequestHeaders

cangjie
public static let AccessControlRequestHeaders = "Access-Control-Request-Headers"

功能:表示 Access-Control-Request-Headers 头名称。

let AccessControlRequestMethod

cangjie
public static let AccessControlRequestMethod = "Access-Control-Request-Method"

功能:表示 Access-Control-Request-Method 头名称。

let Age

cangjie
public static let Age = "Age"

功能:表示 Age 头名称。

let Allow

cangjie
public static let Allow = "Allow"

功能:表示 Allow 头名称。

let AltSvc

cangjie
public static let AltSvc = "Alt-Svc"

功能:表示 Alt-Svc 头名称。

let Authority

cangjie
public static let Authority = ":authority"

功能:表示 :authority 头名称。

let Authorization

cangjie
public static let Authorization = "Authorization"

功能:表示 Authorization 头名称。

let Baggage

cangjie
public static let Baggage = "baggage"

功能:表示 baggage 头名称。

let CacheControl

cangjie
public static let CacheControl = "Cache-Control"

功能:表示 Cache-Control 头名称。

let Connection

cangjie
public static let Connection = "Connection"

功能:表示 Connection 头名称。

let ContentDisposition

cangjie
public static let ContentDisposition = "Content-Disposition"

功能:表示 Content-Disposition 头名称。

let ContentEncoding

cangjie
public static let ContentEncoding = "Content-Encoding"

功能:表示 Content-Encoding 头名称。

let ContentLanguage

cangjie
public static let ContentLanguage = "Content-Language"

功能:表示 Content-Language 头名称。

let ContentLength

cangjie
public static let ContentLength = "Content-Length"

功能:表示 Content-Length 头名称。

let ContentLocation

cangjie
public static let ContentLocation = "Content-Location"

功能:表示 Content-Location 头名称。

let ContentMD5

cangjie
public static let ContentMD5 = "Content-MD5"

功能:表示 Content-MD5 头名称。

let ContentRange

cangjie
public static let ContentRange = "Content-Range"

功能:表示 Content-Range 头名称。

let ContentSecurityPolicy

cangjie
public static let ContentSecurityPolicy = "Content-Security-Policy"

功能:表示 Content-Security-Policy 头名称。

let ContentSecurityPolicyReportOnly

cangjie
public static let ContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only"

功能:表示 Content-Security-Policy-Report-Only 头名称。

let ContentType

cangjie
public static let ContentType = "Content-Type"

功能:表示 Content-Type 头名称。

let CorrelationContext

cangjie
public static let CorrelationContext = "Correlation-Context"

功能:表示 Correlation-Context 头名称。

cangjie
public static let Cookie = "Cookie"

功能:表示 Cookie 头名称。

let Date

cangjie
public static let Date = "Date"

功能:表示 Date 头名称。

let DNT

cangjie
public static let DNT = "DNT"

功能:表示 DNT 头名称。

let ETag

cangjie
public static let ETag = "ETag"

功能:表示 ETag 头名称。

let Expires

cangjie
public static let Expires = "Expires"

功能:表示 Expires 头名称。

let Expect

cangjie
public static let Expect = "Expect"

功能:表示 Expect 头名称。

let From

cangjie
public static let From = "From"

功能:表示 From 头名称。

let GrpcAcceptEncoding

cangjie
public static let GrpcAcceptEncoding = "Grpc-Accept-Encoding"

功能:表示 Grpc-Accept-Encoding 头名称。

let GrpcEncoding

cangjie
public static let GrpcEncoding = "Grpc-Encoding"

功能:表示 Grpc-Encoding 头名称。

let GrpcMessage

cangjie
public static let GrpcMessage = "Grpc-Message"

功能:表示 Grpc-Message 头名称。

let GrpcStatus

cangjie
public static let GrpcStatus = "Grpc-Status"

功能:表示 Grpc-Status 头名称。

let GrpcTimeout

cangjie
public static let GrpcTimeout = "Grpc-Timeout"

功能:表示 Grpc-Timeout 头名称。

let Host

cangjie
public static let Host = "Host"

功能:表示 Host 头名称。

let KeepAlive

cangjie
public static let KeepAlive = "Keep-Alive"

功能:表示 Keep-Alive 头名称。

let IfMatch

cangjie
public static let IfMatch = "If-Match"

功能:表示 If-Match 头名称。

let IfModifiedSince

cangjie
public static let IfModifiedSince = "If-Modified-Since"

功能:表示 If-Modified-Since 头名称。

let IfNoneMatch

cangjie
public static let IfNoneMatch = "If-None-Match"

功能:表示 If-None-Match 头名称。

let IfRange

cangjie
public static let IfRange = "If-Range"

功能:表示 If-Range 头名称。

let IfUnmodifiedSince

cangjie
public static let IfUnmodifiedSince = "If-Unmodified-Since"

功能:表示 If-Unmodified-Since 头名称。

let LastModified

cangjie
public static let LastModified = "Last-Modified"

功能:表示 Last-Modified 头名称。

cangjie
public static let Link = "Link"

功能:表示 Link 头名称。

let Location

cangjie
public static let Location = "Location"

功能:表示 Location 头名称。

let MaxForwards

cangjie
public static let MaxForwards = "Max-Forwards"

功能:表示 Max-Forwards 头名称。

let Method

cangjie
public static let Method = ":method"

功能:表示 :method 头名称。

let Origin

cangjie
public static let Origin = "Origin"

功能:表示 Origin 头名称。

let Path

cangjie
public static let Path = ":path"

功能:表示 :path 头名称。

let Pragma

cangjie
public static let Pragma = "Pragma"

功能:表示 Pragma 头名称。

let ProxyAuthenticate

cangjie
public static let ProxyAuthenticate = "Proxy-Authenticate"

功能:表示 Proxy-Authenticate 头名称。

let ProxyAuthorization

cangjie
public static let ProxyAuthorization = "Proxy-Authorization"

功能:表示 Proxy-Authorization 头名称。

let ProxyConnection

cangjie
public static let ProxyConnection = "Proxy-Connection"

功能:表示 Proxy-Connection 头名称。

let Range

cangjie
public static let Range = "Range"

功能:表示 Range 头名称。

let Referer

cangjie
public static let Referer = "Referer"

功能:表示 Referer 头名称。

let RetryAfter

cangjie
public static let RetryAfter = "Retry-After"

功能:表示 Retry-After 头名称。

let RequestId

cangjie
public static let RequestId = "Request-Id"

功能:表示 Request-Id 头名称。

let Scheme

cangjie
public static let Scheme = ":scheme"

功能:表示 :scheme 头名称。

let SecWebSocketAccept

cangjie
public static let SecWebSocketAccept = "Sec-WebSocket-Accept"

功能:表示 Sec-WebSocket-Accept 头名称。

let SecWebSocketKey

cangjie
public static let SecWebSocketKey = "Sec-WebSocket-Key"

功能:表示 Sec-WebSocket-Key 头名称。

let SecWebSocketProtocol

cangjie
public static let SecWebSocketProtocol = "Sec-WebSocket-Protocol"

功能:表示 Sec-WebSocket-Protocol 头名称。

let SecWebSocketVersion

cangjie
public static let SecWebSocketVersion = "Sec-WebSocket-Version"

功能:表示 Sec-WebSocket-Version 头名称。

let SecWebSocketExtensions

cangjie
public static let SecWebSocketExtensions = "Sec-WebSocket-Extensions"

功能:表示 Sec-WebSocket-Extensions 头名称。

let Server

cangjie
public static let Server = "Server"

功能:表示 Server 头名称。

let SetCookie

cangjie
public static let SetCookie = "Set-Cookie"

功能:表示 Set-Cookie 头名称。

let Status

cangjie
public static let Status = ":status"

功能:表示 :status 头名称。

let StrictTransportSecurity

cangjie
public static let StrictTransportSecurity = "Strict-Transport-Security"

功能:表示 Strict-Transport-Security 头名称。

let TE

cangjie
public static let TE = "TE"

功能:表示 TE 头名称。

let Trailer

cangjie
public static let Trailer = "Trailer"

功能:表示 Trailer 头名称。

let TransferEncoding

cangjie
public static let TransferEncoding = "Transfer-Encoding"

功能:表示 Transfer-Encoding 头名称。

let Translate

cangjie
public static let Translate = "Translate"

功能:表示 Translate 头名称。

let TraceParent

cangjie
public static let TraceParent = "traceparent"

功能:表示 traceparent 头名称。

let TraceState

cangjie
public static let TraceState = "tracestate"

功能:表示 tracestate 头名称。

let Upgrade

cangjie
public static let Upgrade = "Upgrade"

功能:表示 Upgrade 头名称。

let UpgradeInsecureRequests

cangjie
public static let UpgradeInsecureRequests = "Upgrade-Insecure-Requests"

功能:表示 Upgrade-Insecure-Requests 头名称。

let UserAgent

cangjie
public static let UserAgent = "User-Agent"

功能:表示 User-Agent 头名称。

let Vary

cangjie
public static let Vary = "Vary"

功能:表示 Vary 头名称。

let Via

cangjie
public static let Via = "Via"

功能:表示 Via 头名称。

let Warning

cangjie
public static let Warning = "Warning"

功能:表示 Warning 头名称。

let WebSocketSubProtocols

cangjie
public static let WebSocketSubProtocols = "Sec-WebSocket-Protocol"

功能:表示 Sec-WebSocket-Protocol 头名称。

let WWWAuthenticate

cangjie
public static let WWWAuthenticate = "WWW-Authenticate"

功能:表示 WWW-Authenticate 头名称。

let XContentTypeOptions

cangjie
public static let XContentTypeOptions = "X-Content-Type-Options"

功能:表示 X-Content-Type-Options 头名称。

let XFrameOptions

cangjie
public static let XFrameOptions = "X-Frame-Options"

功能:表示 X-Frame-Options 头名称。

let XPoweredBy

cangjie
public static let XPoweredBy = "X-Powered-By"

功能:表示 X-Powered-By 头名称。

let XRequestedWith

cangjie
public static let XRequestedWith = "X-Requested-With"

功能:表示 X-Requested-With 头名称。

let XUACompatible

cangjie
public static let XUACompatible = "X-UA-Compatible"

功能:表示 X-UA-Compatible 头名称。

let XXSSProtection

cangjie
public static let XXSSProtection = "X-XSS-Protection"

功能:表示 X-XSS-Protection 头名称。