7 lines
134 B
Ruby
7 lines
134 B
Ruby
|
Nghttpx.run do |resp, req|
|
||
|
resp.clear_headers
|
||
|
resp.status = 404
|
||
|
resp.add_header "from", "mruby"
|
||
|
resp.return "Hello World"
|
||
|
end
|