first commit
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
class App
|
||||
def on_req(env)
|
||||
resp = env.resp
|
||||
|
||||
resp.clear_headers
|
||||
resp.status = 404
|
||||
resp.add_header "from", "mruby"
|
||||
resp.return "Hello World from req"
|
||||
end
|
||||
end
|
||||
|
||||
App.new
|
||||
Reference in New Issue
Block a user