class Aspera::FaspexGW::NewUserServlet
Public Instance Methods
do_GET(request, response)
click to toggle source
# File lib/aspera/faspex_gw.rb, line 130 def do_GET (request, response) case request.path when '/newuser' response.status=200 response.content_type = "text/html" response.body='<html><body>hello world</body></html>' else raise "unsupported path: [#{request.path}]" end end