Class: Rex::Proto::Http::Request::Put

Inherits:
Rex::Proto::Http::Request show all
Defined in:
lib/rex/proto/http/request.rb

Overview

HTTP PUT request class wrapper.

Constant Summary

Constants inherited from Rex::Proto::Http::Request

PostRequests

Instance Attribute Summary

Attributes inherited from Rex::Proto::Http::Request

#junk_directories, #junk_end_of_uri, #junk_param_start, #junk_params, #junk_pipeline, #junk_self_referring_directories, #junk_slashes, #method, #proto, #raw_uri, #relative_resource, #uri_encode_mode, #uri_parts

Attributes inherited from Packet

#auto_cl, #body, #body_bytes_left, #bufq, #chunk_max_size, #chunk_min_size, #compress, #error, #headers, #incomplete, #inside_chunk, #keepalive, #max_data, #state, #transfer_chunked

Instance Method Summary collapse

Methods inherited from Rex::Proto::Http::Request

#body, #cmd_string, #meta_vars, #normalize!, #param_string, #parse_cgi_qstring, #qstring, #resource, #resource=, #to_s, #update_cmd_parts, #update_uri_parts, #uri, #uri=

Methods inherited from Packet

#[], #[]=, #check_100, #chunk, #cmd_string, #completed?, #from_s, #output_packet, #parse, #parse_body, #parse_header, #reset, #reset_except_queue, #to_s, #to_terminal_output, #update_cmd_parts

Constructor Details

#initialize(uri = '/', proto = DefaultProtocol) ⇒ Put

Returns a new instance of Put.



46
47
48
# File 'lib/rex/proto/http/request.rb', line 46

def initialize(uri = '/', proto = DefaultProtocol)
  super('PUT', uri, proto)
end