Method: Net::HTTP#options
- Defined in:
- lib/net/http.rb
#options(path, initheader = nil) ⇒ Object
Sends a OPTIONS request to the path and gets a response, as an HTTPResponse object.
882 883 884 |
# File 'lib/net/http.rb', line 882 def (path, initheader = nil) request(Options.new(path, initheader)) end |