Class: Rex::Proto::Http::Response::E404
- Inherits:
-
Response
- Object
- Response
- Rex::Proto::Http::Response::E404
- Defined in:
- lib/rex/proto/http/response.rb
Overview
HTTP 404/File not found response class wrapper.
Instance Method Summary collapse
-
#initialize(message = 'File not found', proto = DefaultProtocol) ⇒ E404
constructor
A new instance of E404.
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( = 'File not found', proto = DefaultProtocol) super(404, , proto) end |