Class: FileUploadServlet

Inherits:
WEBrick::HTTPServlet::AbstractServlet
  • Object
show all
Defined in:
lib/mechanize/test_case.rb

Instance Method Summary collapse

Instance Method Details

#do_POST(req, res) ⇒ Object



169
170
171
# File 'lib/mechanize/test_case.rb', line 169

def do_POST(req, res)
  res.body = req.body
end