Module: PrestoHTTP

Defined in:
lib/presto/http.rb,
lib/presto/http/api.rb,
lib/presto/http/slice.rb,
lib/presto/http/config.rb,
lib/presto/http/rewrite.rb,
lib/presto/http/auth/html.rb,
lib/presto/http/auth/basic.rb,
lib/presto/http/auth/digest.rb,
lib/presto/http/response/auth.rb,
lib/presto/http/class-api/api.rb,
lib/presto/http/response/action.rb,
lib/presto/http/response/params.rb,
lib/presto/http/instance-api/api.rb,
lib/presto/http/response/response.rb,
lib/presto/http/instance-api/auth.rb,
lib/presto/http/instance-api/file.rb,
lib/presto/http/instance-api/pass.rb,
lib/presto/http/instance-api/halt.rb,
lib/presto/http/instance-api/params.rb,
lib/presto/http/instance-api/cookies.rb,
lib/presto/http/instance-api/sandbox.rb,
lib/presto/http/instance-api/session.rb,
lib/presto/http/instance-api/redirect.rb

Defined Under Namespace

Modules: API, Config Classes: BasicAuth, ClassAPI, DigestAuth, HTMLAuth, InstanceAPI, Response, Rewrite, Slice

Constant Summary

CONTENT_TYPE__PLAIN =
'text/plain'.freeze
CONTENT_TYPE__HTML =
'text/html'.freeze
AUTHORIZATION_TYPES =
%w[ Basic Digest HTML ].freeze
AUTHORIZATION_KEYS =
%w[ HTTP_AUTHORIZATION X-HTTP_AUTHORIZATION X_HTTP_AUTHORIZATION ].freeze
REST_METHODS =
[:get, :post, :put, :head, :delete, :options, :patch].freeze