github.com/Aoi-hosizora/ahlib@v1.5.1-0.20230404072829-241b93cf91c7/xconstant/headers/headers.go (about)

     1  // Code generated by generate_test. DO NOT EDIT.
     2  
     3  package headers
     4  
     5  // Headers are referred from https://github.com/go-http-utils/headers and https://en.wikipedia.org/wiki/List_of_HTTP_header_fields.
     6  
     7  // Standard header fields.
     8  const (
     9  	AIM                           = "A-IM"                             // Used in requests
    10  	Accept                        = "Accept"                           // Used in requests
    11  	AcceptCH                      = "Accept-CH"                        // Used in responses
    12  	AcceptCharset                 = "Accept-Charset"                   // Used in requests
    13  	AcceptDatetime                = "Accept-Datetime"                  // Used in requests
    14  	AcceptEncoding                = "Accept-Encoding"                  // Used in requests
    15  	AcceptLanguage                = "Accept-Language"                  // Used in requests
    16  	AcceptPatch                   = "Accept-Patch"                     // Used in responses
    17  	AcceptRanges                  = "Accept-Ranges"                    // Used in responses
    18  	AccessControlAllowCredentials = "Access-Control-Allow-Credentials" // Used in responses
    19  	AccessControlAllowHeaders     = "Access-Control-Allow-Headers"     // Used in responses
    20  	AccessControlAllowMethods     = "Access-Control-Allow-Methods"     // Used in responses
    21  	AccessControlAllowOrigin      = "Access-Control-Allow-Origin"      // Used in responses
    22  	AccessControlExposeHeaders    = "Access-Control-Expose-Headers"    // Used in responses
    23  	AccessControlMaxAge           = "Access-Control-Max-Age"           // Used in responses
    24  	AccessControlRequestHeaders   = "Access-Control-Request-Headers"   // Used in requests
    25  	AccessControlRequestMethod    = "Access-Control-Request-Method"    // Used in requests
    26  	Age                           = "Age"                              // Used in responses
    27  	Allow                         = "Allow"                            // Used in responses
    28  	AltSvc                        = "Alt-Svc"                          // Used in responses
    29  	Authorization                 = "Authorization"                    // Used in requests
    30  	CacheControl                  = "Cache-Control"                    // Used in requests, responses
    31  	Connection                    = "Connection"                       // Used in requests, responses
    32  	ContentDisposition            = "Content-Disposition"              // Used in responses
    33  	ContentEncoding               = "Content-Encoding"                 // Used in requests, responses
    34  	ContentLanguage               = "Content-Language"                 // Used in responses
    35  	ContentLength                 = "Content-Length"                   // Used in requests, responses
    36  	ContentLocation               = "Content-Location"                 // Used in responses
    37  	ContentMD5                    = "Content-MD5"                      // Used in requests, responses
    38  	ContentRange                  = "Content-Range"                    // Used in responses
    39  	ContentType                   = "Content-Type"                     // Used in requests, responses
    40  	Cookie                        = "Cookie"                           // Used in requests
    41  	Date                          = "Date"                             // Used in requests, responses
    42  	DeltaBase                     = "Delta-Base"                       // Used in responses
    43  	ETag                          = "ETag"                             // Used in responses
    44  	Expect                        = "Expect"                           // Used in requests
    45  	Expires                       = "Expires"                          // Used in responses
    46  	Forwarded                     = "Forwarded"                        // Used in requests
    47  	From                          = "From"                             // Used in requests
    48  	HTTP2Settings                 = "HTTP2-Settings"                   // Used in requests
    49  	Host                          = "Host"                             // Used in requests
    50  	IM                            = "IM"                               // Used in responses
    51  	IfMatch                       = "If-Match"                         // Used in requests
    52  	IfModifiedSince               = "If-Modified-Since"                // Used in requests
    53  	IfNoneMatch                   = "If-None-Match"                    // Used in requests
    54  	IfRange                       = "If-Range"                         // Used in requests
    55  	IfUnmodifiedSince             = "If-Unmodified-Since"              // Used in requests
    56  	LastModified                  = "Last-Modified"                    // Used in responses
    57  	Link                          = "Link"                             // Used in responses
    58  	Location                      = "Location"                         // Used in responses
    59  	MaxForwards                   = "Max-Forwards"                     // Used in requests
    60  	Origin                        = "Origin"                           // Used in requests
    61  	P3P                           = "P3P"                              // Used in responses
    62  	Pragma                        = "Pragma"                           // Used in requests, responses
    63  	Prefer                        = "Prefer"                           // Used in requests
    64  	PreferenceApplied             = "Preference-Applied"               // Used in responses
    65  	ProxyAuthenticate             = "Proxy-Authenticate"               // Used in responses
    66  	ProxyAuthorization            = "Proxy-Authorization"              // Used in requests
    67  	PublicKeyPins                 = "Public-Key-Pins"                  // Used in responses
    68  	Range                         = "Range"                            // Used in requests
    69  	Referer                       = "Referer"                          // Used in requests
    70  	RetryAfter                    = "Retry-After"                      // Used in responses
    71  	Server                        = "Server"                           // Used in responses
    72  	SetCookie                     = "Set-Cookie"                       // Used in responses
    73  	StrictTransportSecurity       = "Strict-Transport-Security"        // Used in responses
    74  	TE                            = "TE"                               // Used in requests
    75  	Tk                            = "Tk"                               // Used in responses
    76  	Trailer                       = "Trailer"                          // Used in requests, responses
    77  	TransferEncoding              = "Transfer-Encoding"                // Used in requests, responses
    78  	Upgrade                       = "Upgrade"                          // Used in requests, responses
    79  	UserAgent                     = "User-Agent"                       // Used in requests
    80  	Vary                          = "Vary"                             // Used in responses
    81  	Via                           = "Via"                              // Used in requests, responses
    82  	WWWAuthenticate               = "WWW-Authenticate"                 // Used in responses
    83  	Warning                       = "Warning"                          // Used in requests, responses
    84  	XFrameOptions                 = "X-Frame-Options"                  // Used in responses
    85  )
    86  
    87  // Common non-standard header fields.
    88  const (
    89  	ContentSecurityPolicy   = "Content-Security-Policy"   // Used in responses
    90  	CorrelationID           = "Correlation-ID"            // Used in requests
    91  	DNT                     = "DNT"                       // Used in requests
    92  	ExpectCT                = "Expect-CT"                 // Used in responses
    93  	FrontEndHttps           = "Front-End-Https"           // Used in requests
    94  	NEL                     = "NEL"                       // Used in responses
    95  	PermissionsPolicy       = "Permissions-Policy"        // Used in responses
    96  	ProxyConnection         = "Proxy-Connection"          // Used in requests
    97  	Refresh                 = "Refresh"                   // Used in responses
    98  	ReportTo                = "Report-To"                 // Used in responses
    99  	SaveData                = "Save-Data"                 // Used in requests
   100  	SecGPC                  = "Sec-GPC"                   // Used in requests
   101  	Status                  = "Status"                    // Used in responses
   102  	TimingAllowOrigin       = "Timing-Allow-Origin"       // Used in responses
   103  	UpgradeInsecureRequests = "Upgrade-Insecure-Requests" // Used in requests
   104  	XATTDeviceId            = "X-ATT-DeviceId"            // Used in requests
   105  	XContentDuration        = "X-Content-Duration"        // Used in responses
   106  	XContentSecurityPolicy  = "X-Content-Security-Policy" // Used in responses
   107  	XContentTypeOptions     = "X-Content-Type-Options"    // Used in responses
   108  	XCorrelationID          = "X-Correlation-ID"          // Used in requests, responses
   109  	XCsrfToken              = "X-Csrf-Token"              // Used in requests
   110  	XForwardedFor           = "X-Forwarded-For"           // Used in requests
   111  	XForwardedHost          = "X-Forwarded-Host"          // Used in requests
   112  	XForwardedProto         = "X-Forwarded-Proto"         // Used in requests
   113  	XHttpMethodOverride     = "X-Http-Method-Override"    // Used in requests
   114  	XPoweredBy              = "X-Powered-By"              // Used in responses
   115  	XRateLimitLimit         = "X-RateLimit-Limit"         // Used in responses
   116  	XRateLimitRemaining     = "X-RateLimit-Remaining"     // Used in responses
   117  	XRateLimitReset         = "X-RateLimit-Reset"         // Used in responses
   118  	XRealIP                 = "X-Real-IP"                 // Used in requests
   119  	XRedirectBy             = "X-Redirect-By"             // Used in responses
   120  	XRequestID              = "X-Request-ID"              // Used in requests, responses
   121  	XRequestedWith          = "X-Requested-With"          // Used in requests
   122  	XUACompatible           = "X-UA-Compatible"           // Used in responses
   123  	XUIDH                   = "X-UIDH"                    // Used in requests
   124  	XWapProfile             = "X-Wap-Profile"             // Used in requests
   125  	XWebKitCSP              = "X-WebKit-CSP"              // Used in responses
   126  	XXSSProtection          = "X-XSS-Protection"          // Used in responses
   127  )