Class: URI::HTTP
- Inherits:
-
Generic
- Object
- Generic
- URI::HTTP
- Defined in:
- lib/ronin/support/network/http/core_ext/uri/http.rb
Instance Method Summary collapse
-
#ok?(**kwargs) ⇒ Boolean
Checks if the HTTP response for the URI has an HTTP
OKstatus code. -
#status(**kwargs) ⇒ Integer
Returns the Status Code of the HTTP Response for the URI.
Instance Method Details
#ok?(**kwargs) ⇒ Boolean
Checks if the HTTP response for the URI has an HTTP OK status code.
66 67 68 |
# File 'lib/ronin/support/network/http/core_ext/uri/http.rb', line 66 def ok?(**kwargs) Ronin::Support::Network::HTTP.ok?(self,**kwargs) end |
#status(**kwargs) ⇒ Integer
Returns the Status Code of the HTTP Response for the URI.
44 45 46 |
# File 'lib/ronin/support/network/http/core_ext/uri/http.rb', line 44 def status(**kwargs) Ronin::Support::Network::HTTP.response_status(self,**kwargs) end |