class Marta::Server::WelcomeServlet

Welcome Servlet

@note It is believed that no user will use it

Public Instance Methods

do_GET(request, response) click to toggle source
# File lib/marta/server.rb, line 60
def do_GET (request, response)
  response.status = 200
  response.content_type = "text/html"
  response.body = "<html><body><h1>Welcome!</h1></hr><h2>If You can "\
  "see this label most probably Marta is working. I hope.</h2></hr>"\
  "<a href='https://github.com/sseleznevqa/marta'>GITHUB link</a>"\
  "</body></html>"
end