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