mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-03 09:48:29 +00:00
parent
da36e7e256
commit
4d21cd315d
20 changed files with 1075 additions and 664 deletions
|
@ -11,57 +11,61 @@
|
|||
%define lookup-function-name LookupHttpHeader
|
||||
struct HttpHeaderSlot { char *name; char code; };
|
||||
%%
|
||||
Accept, kHttpAccept
|
||||
Accept-Charset, kHttpAcceptCharset
|
||||
Accept-Encoding, kHttpAcceptEncoding
|
||||
Accept-Language, kHttpAcceptLanguage
|
||||
Age, kHttpAge
|
||||
Allow, kHttpAllow
|
||||
Authorization, kHttpAuthorization
|
||||
Cache-Control, kHttpCacheControl
|
||||
Chunked, kHttpChunked
|
||||
Close, kHttpClose
|
||||
Connection, kHttpConnection
|
||||
Content-Base, kHttpContentBase
|
||||
Content-Encoding, kHttpContentEncoding
|
||||
Content-Language, kHttpContentLanguage
|
||||
Content-Length, kHttpContentLength
|
||||
Content-Location, kHttpContentLocation
|
||||
Content-Md5, kHttpContentMd5
|
||||
Content-Range, kHttpContentRange
|
||||
Content-Type, kHttpContentType
|
||||
Date, kHttpDate
|
||||
ETag, kHttpEtag
|
||||
Expires, kHttpExpires
|
||||
From, kHttpFrom
|
||||
Host, kHttpHost
|
||||
If-Match, kHttpIfMatch
|
||||
If-Modified-Since, kHttpIfModifiedSince
|
||||
If-None-Match, kHttpIfNoneMatch
|
||||
If-Range, kHttpIfRange
|
||||
If-Unmodified-Since, kHttpIfUnmodifiedSince
|
||||
Keep-Alive, kHttpKeepAlive
|
||||
Max-Forwards, kHttpMaxForwards
|
||||
Pragma, kHttpPragma
|
||||
Proxy-Authenticate, kHttpProxyAuthenticate
|
||||
Proxy-Authorization, kHttpProxyAuthorization
|
||||
Proxy-Connection, kHttpProxyConnection
|
||||
Range, kHttpRange
|
||||
Referer, kHttpReferer
|
||||
Transfer-Encoding, kHttpTransferEncoding
|
||||
Upgrade, kHttpUpgrade
|
||||
User-Agent, kHttpUserAgent
|
||||
Via, kHttpVia
|
||||
Location, kHttpLocation
|
||||
Public, kHttpPublic
|
||||
Retry-After, kHttpRetryAfter
|
||||
Server, kHttpServer
|
||||
Vary, kHttpVary
|
||||
Warning, kHttpWarning
|
||||
WWW-Authenticate, kHttpWwwAuthenticate
|
||||
Last-Modified, kHttpLastModified
|
||||
Cookie, kHttpCookie
|
||||
Trailer, kHttpTrailer
|
||||
TE, kHttpTe
|
||||
DNT, kHttpDnt
|
||||
Expect, kHttpExpect
|
||||
Accept, kHttpAccept
|
||||
Accept-Charset, kHttpAcceptCharset
|
||||
Accept-Encoding, kHttpAcceptEncoding
|
||||
Accept-Language, kHttpAcceptLanguage
|
||||
Age, kHttpAge
|
||||
Allow, kHttpAllow
|
||||
Authorization, kHttpAuthorization
|
||||
Cache-Control, kHttpCacheControl
|
||||
Chunked, kHttpChunked
|
||||
Close, kHttpClose
|
||||
Connection, kHttpConnection
|
||||
Content-Base, kHttpContentBase
|
||||
Content-Encoding, kHttpContentEncoding
|
||||
Content-Language, kHttpContentLanguage
|
||||
Content-Length, kHttpContentLength
|
||||
Content-Location, kHttpContentLocation
|
||||
Content-Md5, kHttpContentMd5
|
||||
Content-Range, kHttpContentRange
|
||||
Content-Type, kHttpContentType
|
||||
Date, kHttpDate
|
||||
ETag, kHttpEtag
|
||||
Expires, kHttpExpires
|
||||
From, kHttpFrom
|
||||
Host, kHttpHost
|
||||
If-Match, kHttpIfMatch
|
||||
If-Modified-Since, kHttpIfModifiedSince
|
||||
If-None-Match, kHttpIfNoneMatch
|
||||
If-Range, kHttpIfRange
|
||||
If-Unmodified-Since, kHttpIfUnmodifiedSince
|
||||
Keep-Alive, kHttpKeepAlive
|
||||
Max-Forwards, kHttpMaxForwards
|
||||
Pragma, kHttpPragma
|
||||
Proxy-Authenticate, kHttpProxyAuthenticate
|
||||
Proxy-Authorization, kHttpProxyAuthorization
|
||||
Proxy-Connection, kHttpProxyConnection
|
||||
Range, kHttpRange
|
||||
Referer, kHttpReferer
|
||||
Transfer-Encoding, kHttpTransferEncoding
|
||||
Upgrade, kHttpUpgrade
|
||||
User-Agent, kHttpUserAgent
|
||||
Via, kHttpVia
|
||||
Location, kHttpLocation
|
||||
Public, kHttpPublic
|
||||
Retry-After, kHttpRetryAfter
|
||||
Server, kHttpServer
|
||||
Vary, kHttpVary
|
||||
Warning, kHttpWarning
|
||||
WWW-Authenticate, kHttpWwwAuthenticate
|
||||
Last-Modified, kHttpLastModified
|
||||
Cookie, kHttpCookie
|
||||
Trailer, kHttpTrailer
|
||||
TE, kHttpTe
|
||||
DNT, kHttpDnt
|
||||
Expect, kHttpExpect
|
||||
Content-Disposition, kHttpContentDisposition
|
||||
Content-Description, kHttpContentDescription
|
||||
Origin, kHttpOrigin
|
||||
Upgrade-Insecure-Requests, kHttpUpgradeInsecureRequests
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue