nghttp2/integration-tests/req-set-header.rb

8 lines
92 B
Ruby

class App
def on_req(env)
env.req.set_header "User-Agent", "mruby"
end
end
App.new