Class: Index
- Inherits:
-
Mongrel::HttpHandler
- Object
- Mongrel::HttpHandler
- Index
- Defined in:
- lib/irc_cat/http_server.rb
Instance Method Summary collapse
Instance Method Details
#process(request, response) ⇒ Object
8 9 10 11 12 |
# File 'lib/irc_cat/http_server.rb', line 8 def process(request, response) response.start(200) do |head,out| head["Content-Type"] = "text/html" end end |