method
do_OPTIONS
v1_8_6_287 -
Show latest stable
- Class:
WEBrick::HTTPServlet::AbstractServlet
do_OPTIONS(req, res)public
No documentation available.
# File lib/webrick/httpservlet/abstract.rb, line 50
def do_OPTIONS(req, res)
m = self.methods.grep(/^do_[A-Z]+$/)
m.collect!{|i| i.sub(/do_/, "") }
m.sort!
res["allow"] = m.join(",")
end