integration: Fix test failures

This commit is contained in:
Tatsuhiro Tsujikawa 2015-09-05 01:24:43 +09:00
parent b4709b9e8c
commit d348ea3384
3 changed files with 7 additions and 5 deletions

View File

@ -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

View File

@ -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

View File

@ -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"