integration: Fix test failures
This commit is contained in:
parent
b4709b9e8c
commit
d348ea3384
|
@ -1,3 +1,3 @@
|
||||||
Nghttpx.run do |resp, req|
|
Nghttpx.run do |env|
|
||||||
req.set_header "User-Agent", "mruby"
|
env.req.set_header "User-Agent", "mruby"
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Nghttpx.run do |resp, req|
|
Nghttpx.run do |env|
|
||||||
resp.set_header "Alpha", "bravo"
|
env.resp.set_header "Alpha", "bravo"
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
Nghttpx.run do |resp, req|
|
Nghttpx.run do |env|
|
||||||
|
resp = env.resp
|
||||||
|
|
||||||
resp.clear_headers
|
resp.clear_headers
|
||||||
resp.status = 404
|
resp.status = 404
|
||||||
resp.add_header "from", "mruby"
|
resp.add_header "from", "mruby"
|
||||||
|
|
Loading…
Reference in New Issue