Module: Ronin::Recon::Mixins::HTTP

Included in:
WebWorker
Defined in:
lib/ronin/recon/mixins/http.rb

Overview

Mixin which adds methods for performing async HTTP requests.

Constant Summary collapse

VALID_STATUS_CODES =

HTTP status codes that indicate a valid route.

Set[
  200, # OK
  201, # Created
  202, # Accepted
  203, # Non-Authoritative Information
  204, # No Content
  205, # Reset Content
  206, # Partial Content
  207, # Multi-Status
  208, # Already Reported
  226, # IM Used
  405, # Method Not Allowed
  409, # Conflict
  415, # Unsupported Media Type
  422, # Unprocessable Content
  423, # Locked
  424, # Failed Dependency
  451, # Unavailable For Legal Reasons
  500  # Internal Server Error
]