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, #peerinfo, #proto, #request

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::Response

#check_100, #cmd_string, #get_cookies, #get_cookies_parsed, #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

#[], #[]=, #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(message = 'File not found', proto = DefaultProtocol) ⇒ E404

Returns a new instance of E404.


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

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