Sha256: 6de4f3db5f9db1f35a3095207ae35526cc9664554848d095db99e9de67f3793e

Contents?: true

Size: 843 Bytes

Versions: 4

Compression:

Stored size: 843 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

      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

4 entries across 4 versions & 1 rubygems

Version Path
grape-0.18.0 lib/grape/http/headers.rb
grape-0.17.0 lib/grape/http/headers.rb
grape-0.16.2 lib/grape/http/headers.rb
grape-0.16.1 lib/grape/http/headers.rb