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

Inherits:
Response
  • Object
show all
Defined in:
lib/rex/proto/http/response.rb

Overview

HTTP 404/File not found response class wrapper.

Instance Method Summary collapse

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