-
Notifications
You must be signed in to change notification settings - Fork 47
/
Copy path_header.ts
43 lines (43 loc) · 1.75 KB
/
_header.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
export const Accept = "Accept",
AcceptEncoding = "Accept-Encoding",
Allow = "Allow",
Authorization = "Authorization",
ContentDisposition = "Content-Disposition",
ContentEncoding = "Content-Encoding",
ContentLength = "Content-Length",
ContentType = "Content-Type",
Cookie = "Cookie",
SetCookie = "Set-Cookie",
IfModifiedSince = "If-Modified-Since",
LastModified = "Last-Modified",
Location = "Location",
Upgrade = "Upgrade",
Vary = "Vary",
WWWAuthenticate = "WWW-Authenticate",
XForwardedFor = "X-Forwarded-For",
XForwardedProto = "X-Forwarded-Proto",
XForwardedProtocol = "X-Forwarded-Protocol",
XForwardedSsl = "X-Forwarded-Ssl",
XUrlScheme = "X-Url-Scheme",
XHTTPMethodOverride = "X-HTTP-Method-Override",
XRealIP = "X-Real-IP",
XRequestID = "X-Request-ID",
XRequestedWith = "X-Requested-With",
Server = "Server",
Origin = "Origin", // Access control
AccessControlRequestMethod = "Access-Control-Request-Method",
AccessControlRequestHeaders = "Access-Control-Request-Headers",
AccessControlAllowOrigin = "Access-Control-Allow-Origin",
AccessControlAllowMethods = "Access-Control-Allow-Methods",
AccessControlAllowHeaders = "Access-Control-Allow-Headers",
AccessControlAllowCredentials = "Access-Control-Allow-Credentials",
AccessControlExposeHeaders = "Access-Control-Expose-Headers",
AccessControlMaxAge = "Access-Control-Max-Age", // Security
StrictTransportSecurity = "Strict-Transport-Security",
XContentTypeOptions = "X-Content-Type-Options",
XXSSProtection = "X-XSS-Protection",
XFrameOptions = "X-Frame-Options",
ContentSecurityPolicy = "Content-Security-Policy",
ContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only",
XCSRFToken = "X-CSRF-Token",
ReferrerPolicy = "Referrer-Policy";