Module: Spectre::Http

Defined in:
lib/spectre/http.rb,
lib/spectre/http/keystone.rb

Defined Under Namespace

Modules: Keystone Classes: Client, SpectreHttpError, SpectreHttpHeader, SpectreHttpRequest, SpectreHttpResponse

Constant Summary collapse

DEFAULT_HTTP_CONFIG =
{
  'method' => 'GET',
  'path' => '',
  'host' => nil,
  'port' => 80,
  'scheme' => 'http',
  'use_ssl' => false,
  'cert' => nil,
  'headers' => [],
  'query' => [],
  'params' => {},
  'content_type' => nil,
  'timeout' => 180,
  'retries' => 0,
}
PROGNAME =
'spectre/http'
MODULES =
[]
DEFAULT_SECURE_KEYS =
['password', 'pass', 'token', 'secret', 'key', 'auth',
'authorization', 'cookie', 'session', 'csrf', 'jwt', 'bearer']