Class Puppet::Network::HTTP::RackREST
In: lib/puppet/network/http/rack/rest.rb
Parent: Puppet::Network::HTTP::RackHttpHandler

Methods

Included Modules

Puppet::Network::HTTP::Handler

Classes and Modules

Class Puppet::Network::HTTP::RackREST::RackFile

Constants

HEADER_ACCEPT = 'HTTP_ACCEPT'.freeze
ContentType = 'Content-Type'.freeze
CHUNK_SIZE = 8192

Public Class methods

Public Instance methods

Retrieve the accept header from the http request.

return the request body request.body has some limitiations, so we need to concat it back into a regular string, which is something puppet can use.

Retrieve the accept header from the http request.

Return which HTTP verb was used in this request.

Return the query params for this request.

what path was requested? (this is, without any query parameters)

[Validate]