Class: Net::HTTP::Delete
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
|
|
Instance Chain:
|
|
Inherits: |
Net::HTTPRequest
|
Defined in: | lib/net/http/requests.rb |
Overview
See ::Net::HTTPGenericRequest for attributes and methods. See ::Net::HTTP for usage examples.
Constant Summary
-
METHOD =
# File 'lib/net/http/requests.rb', line 41'DELETE'
-
REQUEST_HAS_BODY =
# File 'lib/net/http/requests.rb', line 42false
-
RESPONSE_HAS_BODY =
# File 'lib/net/http/requests.rb', line 43true
Class Method Summary
::Net::HTTPRequest - Inherited
.new | Creates an ::Net::HTTP request object for |
::Net::HTTPGenericRequest - Inherited
Instance Attribute Summary
::Net::HTTPGenericRequest - Inherited
#body, #body=, #body_stream, #body_stream=, #body_exist?, | |
#decode_content | Automatically set to false if the user sets the Accept-Encoding header. |
#method, #path, #request_body_permitted?, #response_body_permitted?, #uri |
::Net::HTTPHeader - Included
#content_length | Returns an Integer object which represents the ::Net::HTTP Content-Length: header field, or |
#content_length=, | |
#chunked? | Returns “true” if the “transfer-encoding” header is present and set to “chunked”. |
#connection_close?, #connection_keep_alive? |
Instance Method Summary
::Net::HTTPGenericRequest - Inherited
#encode_multipart_form_data, #flush_buffer, #inspect, #quote_string, #send_request_with_body, #send_request_with_body_data, #send_request_with_body_stream, #supply_default_content_type, | |
#wait_for_continue | Waits up to the continue timeout for a response from the server provided we're speaking ::Net::HTTP 1.1 and are expecting a 100-continue response. |
#write_header |
::Net::HTTPHeader - Included
#[] | Returns the header field corresponding to the case-insensitive key. |
#[]= | Sets the header field corresponding to the case-insensitive key. |
#add_field |
|
#basic_auth | Set the Authorization: header for “Basic” authorization. |
#canonical_each | Alias for Net::HTTPHeader#each_capitalized. |
#content_range | Returns a Range object which represents the value of the Content-Range: header field. |
#content_type | Returns a content type string such as “text/html”. |
#content_type= | Alias for Net::HTTPHeader#set_content_type. |
#delete | Removes a header field, specified by case-insensitive key. |
#each | Alias for Net::HTTPHeader#each_header. |
#each_capitalized | As for |
#each_capitalized_name | Iterates through the header names in the header, passing capitalized header names to the code block. |
#each_header | Iterates through the header names and values, passing in the name and value to the code block supplied. |
#each_key | Alias for Net::HTTPHeader#each_name. |
#each_name | Iterates through the header names in the header, passing each header name to the code block. |
#each_value | Iterates through header values, passing each value to the code block. |
#fetch | Returns the header field corresponding to the case-insensitive key. |
#form_data= | Alias for Net::HTTPHeader#set_form_data. |
#get_fields |
|
#initialize_http_header, | |
#key? | true if #key header exists. |
#main_type | Returns a content type string such as “text”. |
#proxy_basic_auth | Set Proxy-Authorization: header for “Basic” authorization. |
#range | Returns an Array of Range objects which represent the Range: ::Net::HTTP header field, or |
#range= | Alias for Net::HTTPHeader#set_range. |
#range_length | The length of the range represented in Content-Range: header. |
#set_content_type | Sets the content type in an ::Net::HTTP header. |
#set_form | Set a HTML form data set. |
#set_form_data | Set header fields and a body from HTML form data. |
#set_range | Sets the ::Net::HTTP Range: header. |
#sub_type | Returns a content type string such as “html”. |
#to_hash | Returns a Hash consisting of header names and array of values. |
#type_params | Any parameters specified for the content type, returned as a Hash. |
#append_field_value, #basic_encode, #capitalize, #set_field, #tokens |
Constructor Details
This class inherits a constructor from Net::HTTPRequest