Powerful Classes for HTTP Requests and Responses
Abort request processing with an HTTP problem response
A list of default formatter mappings
A list of default parser mappings
Pre-supplied formatting generators
Format timestamps to match the HTTP specs
Get the mime type associated with a file based on its file extension
Pre-supplied parsing generators
Parse a query string
Generate a random key compatible with encryption and decryption in req...
reqres: Powerful Classes for HTTP Requests and Responses
HTTP Request Handling
HTTP Response handling
Collect settings for a session cookie
In order to facilitate parsing of http requests and creating appropriate responses this package provides two classes to handle a lot of the housekeeping involved in working with http exchanges. The infrastructure builds upon the 'rook' specification and is thus well suited to be combined with 'httpuv' based web servers.
Useful links