WEBrick::HTTPServlet::AbstractServlet
# File lib/vpim/agent/scraps.rb, line 254 def do_GET(req, resp) body = <h1>#{$vpim_title}</h1>You can access:<ul> $stuff.each do |name,path,protocol| body << "<li><a href=\"#{protocol}://#{$host}:#{$port}#{path}\">#{name}</a>\n" end body << "</ul>\n" resp.body = body resp['content-type'] = 'text/html' raise WEBrick::HTTPStatus::OK end
Generated with the Darkfish Rdoc Generator 2.