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: ...}
Required Ruby Version
>= 0
Authors
g. nicholas d'andrea