Results for: "String# "

Sends a HEAD request to the server; returns an instance of a subclass of Net::HTTPResponse.

The request is based on the Net::HTTP::Head object created from string path and initial headers hash initheader.

http = Net::HTTP.new(hostname)
http.head('/todos/1') # => #<Net::HTTPOK 200 OK readbody=true>

Sends an HTTP request to the server; returns an instance of a subclass of Net::HTTPResponse.

The request is based on the Net::HTTPRequest object created from string path, string data, and initial headers hash header. That object is an instance of the subclass of Net::HTTPRequest, that corresponds to the given uppercase string name, which must be an HTTP request method or a WebDAV request method.

Examples:

http = Net::HTTP.new(hostname)
http.send_request('GET', '/todos/1')
# => #<Net::HTTPOK 200 OK readbody=true>
http.send_request('POST', '/todos', 'xyzzy')
# => #<Net::HTTPCreated 201 Created readbody=true>
No documentation available
No documentation available
No documentation available
No documentation available

def contains_splat?: () -> bool

def begin_keyword: () -> String?

def variable_call?: () -> bool

def variable_call?: () -> bool

def variable_call?: () -> bool

def variable_call?: () -> bool

def variable_call?: () -> bool

def in_keyword: () -> String

def variable_call?: () -> bool

def variable_call?: () -> bool

def variable_call?: () -> bool

def variable_call?: () -> bool

def multi_line?: () -> bool

def windows_31j?: () -> bool

def multi_line?: () -> bool

def windows_31j?: () -> bool

def static_keys?: () -> bool

def multi_line?: () -> bool

def windows_31j?: () -> bool

Search took: 5ms  ·  Total Results: 3654