rack-json_response_wrapper 0.1.3
Rack Middleware for JSON APIs accessed cross-domain from legacy browsers Firefox version 4 does not support response headers for cross-domain requests. This middleware intercepts all requests and if the X-WRAP-RESPONSE is set, the response will be wrappped in JSON like {header: ..., body: ...}