Sha256: e7842f57a6813cfe35ac101ec3583ddee64669afa3af33a872fb6bf166c8f1a4
Contents?: true
Size: 924 Bytes
Versions: 16
Compression:
Stored size: 924 Bytes
Contents
module Grape module Http module Headers # https://github.com/rack/rack/blob/master/lib/rack.rb HTTP_VERSION = 'HTTP_VERSION'.freeze PATH_INFO = 'PATH_INFO'.freeze REQUEST_METHOD = 'REQUEST_METHOD'.freeze QUERY_STRING = 'QUERY_STRING'.freeze CONTENT_TYPE = 'Content-Type'.freeze GET = 'GET'.freeze POST = 'POST'.freeze PUT = 'PUT'.freeze PATCH = 'PATCH'.freeze DELETE = 'DELETE'.freeze HEAD = 'HEAD'.freeze OPTIONS = 'OPTIONS'.freeze SUPPORTED_METHODS = [GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS].freeze HTTP_ACCEPT_VERSION = 'HTTP_ACCEPT_VERSION'.freeze X_CASCADE = 'X-Cascade'.freeze HTTP_TRANSFER_ENCODING = 'HTTP_TRANSFER_ENCODING'.freeze HTTP_ACCEPT = 'HTTP_ACCEPT'.freeze FORMAT = 'format'.freeze end end end
Version data entries
16 entries across 16 versions & 2 rubygems