代码拉取完成,页面将自动刷新
package mutil
var HeaderNames = &headerName{
Accept: "accept",
AcceptCharset: "accept-charset",
AcceptEncoding: "accept-encoding",
AcceptLanguage: "accept-language",
AcceptRanges: "accept-ranges",
AcceptPatch: "accept-patch",
AcceptControlAllowCredentials: "access-control-allow-credentials",
AcceptControlAllowHeaders: "access-control-allow-headers",
AcceptControlAllowMethods: "access-control-allow-methods",
AcceptControlAllowOrigin: "access-control-allow-origin",
AcceptControlExposeHeaders: "access-control-expose-headers",
AcceptControlMaxAge: "access-control-max-age",
AcceptControlRequestHeaders: "access-control-request-headers",
AcceptControlRequestMethod: "access-control-request-method",
Age: "age",
Allow: "allow",
Authorization: "authorization",
CacheControl: "cache-control",
Connection: "connection",
ContentEncoding: "content-encoding",
ContentLanguage: "content-language",
ContentLength: "content-length",
ContentLocation: "content-location",
ContentTransferEncoding: "content-transfer-encoding",
ContentDisposition: "content-disposition",
ContentMd5: "content-md5",
ContentRange: "content-range",
ContentSecurityPolicy: "content-security-policy",
ContentType: "content-type",
Cookie: "cookie",
Date: "date",
Dnt: "dnt",
Etag: "etag",
Expect: "expect",
Expires: "expires",
From: "from",
Host: "host",
IfMatch: "if-match",
IfNoneMatch: "if-none-match",
IfRange: "if-range",
IfUnmodifiedSince: "if-unmodified-since",
KeepAlive: "keep-alive",
LastModified: "last-modified",
Location: "location",
MaxForwards: "max-forwards",
Origin: "origin",
Pragma: "pragma",
ProxyAuthenticate: "proxy-authenticate",
ProxyAuthorization: "proxy-authorization",
ProxyConnection: "proxy-connection",
Range: "range",
Referer: "referer",
RetryAfter: "retry-after",
SecWebsocketKey1: "sec-websocket-key1",
SecWebsocketKey2: "sec-websocket-key2",
SecWebsocketLocation: "sec-websocket-location",
SecWebsocketOrigin: "sec-websocket-origin",
SecWebsocketProtocol: "sec-websocket-protocol",
SecWebsocketVersion: "sec-websocket-version",
SecWebsocketKey: "sec-websocket-key",
SecWebsocketAccept: "sec-websocket-accept",
SecWebsocketExtensions: "sec-websocket-extensions",
Server: "server",
SetCookie: "set-cookie",
SetCookie2: "set-cookie2",
Te: "te",
Trailer: "trailer",
TrailerEncoding: "transfer-encoding",
Upgrade: "upgrade",
UpgradeInsecureRequests: "upgrade-insecure-requests",
UserAgent: "user-agent",
Vary: "vary",
Via: "via",
Warning: "warning",
WebsocketLocation: "websocket-location",
WebsocketOrigin: "websocket-origin",
WebsocketProtocol: "websocket-protocol",
WwwAuthenticate: "www-authenticate",
XFrameOptions: "x-frame-options",
XRequestedWith: "x-requested-with",
}
type headerName struct {
Accept string
AcceptCharset string
AcceptEncoding string
AcceptLanguage string
AcceptRanges string
AcceptPatch string
AcceptControlAllowCredentials string
AcceptControlAllowHeaders string
AcceptControlAllowMethods string
AcceptControlAllowOrigin string
AcceptControlExposeHeaders string
AcceptControlMaxAge string
AcceptControlRequestHeaders string
AcceptControlRequestMethod string
Age string
Allow string
Authorization string
CacheControl string
Connection string
ContentEncoding string
ContentLanguage string
ContentLength string
ContentLocation string
ContentTransferEncoding string
ContentDisposition string
ContentMd5 string
ContentRange string
ContentSecurityPolicy string
ContentType string
Cookie string
Date string
Dnt string
Etag string
Expect string
Expires string
From string
Host string
IfMatch string
IfNoneMatch string
IfRange string
IfUnmodifiedSince string
KeepAlive string
LastModified string
Location string
MaxForwards string
Origin string
Pragma string
ProxyAuthenticate string
ProxyAuthorization string
ProxyConnection string
Range string
Referer string
RetryAfter string
SecWebsocketKey1 string
SecWebsocketKey2 string
SecWebsocketLocation string
SecWebsocketOrigin string
SecWebsocketProtocol string
SecWebsocketVersion string
SecWebsocketKey string
SecWebsocketAccept string
SecWebsocketExtensions string
Server string
SetCookie string
SetCookie2 string
Te string
Trailer string
TrailerEncoding string
Upgrade string
UpgradeInsecureRequests string
UserAgent string
Vary string
Via string
Warning string
WebsocketLocation string
WebsocketOrigin string
WebsocketProtocol string
WwwAuthenticate string
XFrameOptions string
XRequestedWith string
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。