We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5037b5 commit ea102b5Copy full SHA for ea102b5
t/12-case_insensitive_headers.t
@@ -107,6 +107,7 @@ bar
107
path = "/b",
108
headers = {
109
["uSeR-AgENT"] = "test_user_agent",
110
+ x_foo = "bar",
111
},
112
}
113
@@ -119,12 +120,14 @@ bar
119
120
location = /b {
121
content_by_lua '
122
ngx.say(ngx.req.get_headers()["User-Agent"])
123
+ ngx.say(ngx.req.get_headers()["X-Foo"])
124
';
125
126
--- request
127
GET /a
128
--- response_body
129
test_user_agent
130
+bar
131
--- no_error_log
132
[error]
133
[warn]
0 commit comments