Class: Rex::Proto::Http::Response::E404

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

Overview

HTTP 404/File not found response class wrapper.

Instance Attribute Summary

Attributes inherited from Rex::Proto::Http::Response

#code, #count_100, #message, #proto, #request

Attributes inherited from Packet

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

Instance Method Summary collapse

Methods inherited from Rex::Proto::Http::Response

#check_100, #cmd_string, #get_cookies, #get_hidden_inputs, #get_html_document, #get_html_meta_elements, #get_html_scripts, #get_json_document, #get_xml_document, #redirect?, #redirection, #update_cmd_parts

Methods inherited from Packet

#[], #[]=, #chunk, #cmd_string, #completed?, #from_s, #parse, #reset, #reset_except_queue, #to_s

Constructor Details

#initialize(message = 'File not found', proto = DefaultProtocol) ⇒ E404

Returns a new instance of E404.



37
38
39
# File 'lib/rex/proto/http/response.rb', line 37

def initialize(message = 'File not found', proto = DefaultProtocol)
  super(404, message, proto)
end