Module: Strelka::Constants::HTTP
- Includes:
- Mongrel2::Constants::HTTP
- Defined in:
- lib/strelka/constants.rb
Overview
Extend Mongrel2's HTTP constants collection
Constant Summary collapse
- RFC2616_VERBS =
The list of valid verbs for regular HTTP
%w[OPTIONS GET HEAD POST PUT DELETE TRACE CONNECT]- RFC2616_VERB_REGEX =
A regex for matching RFC2616 verbs
Regexp.union( RFC2616_VERBS )
- SAFE_RFC2616_VERBS =
The list of HTTP verbs considered "safe"
%w[GET HEAD]- IDEMPOTENT_RFC2616_VERBS =
The list of HTTP verbs considered "idempotent"
%w[OPTIONS GET HEAD PUT DELETE TRACE]