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, #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


35
36
37
# File 'lib/rex/proto/http/response.rb', line 35

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