unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
blob a10f4cd26ebda924088ad88ef9f77fedd3d103f1 1024 bytes (raw)

 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
 
%{
#include <ruby.h>
%}
%compare-lengths
%enum
%global-table
%language=ANSI-C
%pic
%struct-type
%define hash-function-name cf_hash
%define length-table-name cf_lengthtable
%define lookup-function-name cf_lookup
%define string-pool-name cf_stringpool
%define word-array-name cf_wordlist

struct common_field { size_t name; VALUE value; };
%%
ACCEPT
ACCEPT_CHARSET
ACCEPT_ENCODING
ACCEPT_LANGUAGE
ALLOW
AUTHORIZATION
CACHE_CONTROL
CONNECTION
CONTENT_ENCODING
CONTENT_LENGTH
CONTENT_TYPE
COOKIE
DATE
# Do Not Track
DNT
EXPECT
# RFC 7239 (does anybody use Forwarded:?)
FORWARDED
FROM
HOST
IF_MATCH
IF_MODIFIED_SINCE
IF_NONE_MATCH
IF_RANGE
IF_UNMODIFIED_SINCE
# Firefox sends Keep-Alive (or maybe only old versions?)
KEEP_ALIVE
MAX_FORWARDS
ORIGIN
PRAGMA
PROXY_AUTHORIZATION
RANGE
REFERER
TE
TRAILER
TRANSFER_ENCODING
UPGRADE
UPGRADE_INSECURE_REQUESTS
USER_AGENT
VIA
# common proxies set some of these X- headers
X_FORWARDED_FOR
X_FORWARDED_HOST
X_FORWARDED_PROTO
X_REAL_IP
X_REQUEST_ID
# XMLHttpRequest
X_REQUESTED_WITH
WARNING

debug log:

solving a10f4cd ...
found a10f4cd in https://yhbt.net/unicorn.git

Code repositories for project(s) associated with this public inbox

	https://yhbt.net/unicorn.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).