rackspace-shared-middleware
v0.1.12
Published
Shared Rackspace Express middleware.
Downloads
4
Readme
Rackspace Express middleware
Shared Rackspace Express middleware.
Build status
Available middleware
Access Logger
Log express access attempts using logamgic.
Transaction ID
Attaches transaction id to every request and return it in the response inside the X-Response-Id header.
Body size limiter
Middleware which accepts and limits the maximum size of the request body.
Allow JavaScript XHR
A middleware which responds to any OPTIONS requests with a 204 and an Access control Response.
Body parser
Middleware which uses Swiz definitions to parse a request body.
Validator
A middleware which deserializes the request body and performs a validation on it using the provided Valve object. This middleware must be used in combination with body parser one.
License
This library is distributed under the Apache 2.0 license.