Module: RazorRisk::Cassini::Constants

Defined in:
lib/razor_risk/cassini/constants.rb

Constant Summary collapse

SCHEME_AUTH_ONLY =

The WWW-Authenticate header scheme for Razor's Authentication-only authentication scheme

'RazorRisk.Cassini.AuthorisationOnly'
REFERRED_ENV_PREFIX =
'razorrisk.cassini.ims'
SUPPORTED_VERB_NAMES =
%w{ COPY DELETE GET HEAD LINK LOCK OPTIONS PATCH PROPFIND POST PURGE PUT VIEW UNLINK UNLOCK }
SUPPORTED_VERBS =
SUPPORTED_VERB_NAMES.map { |name| name.downcase.to_sym }
HTTP_AUTHORIZATION =
'HTTP_AUTHORIZATION'
SUPPORTED_AUTHENTICATION_SCHEMES =
%w{ [a]uthorisation-only [b]asic [j]wt }
HOP_BY_HOP_HEADERS =
[
    'connection',
    'keep-alive',
    'proxy-authenticate',
    'proxy-authorization',
    'te',
    'trailer',
    'transfer-encoding',
    'upgrade',
]
RZ_EXPOSE_MICROSERVICE_EXCEPTIONS =

Environment setting to allow exceptions to be propagated for development and testing purposes.