method
do_POST
1.1.4 -
Show latest stable
- Class:
DispatchServlet
do_POST(request, response)public
No documentation available.
# File story_server/prototype/lib/server.rb, line 4
def do_POST(request, response)
File.open('story', 'w') do |io|
io.write(request.body)
end
response.status = 200
response['Content-Type'] = 'text/html'
response.body = "body"
end