RubyGems Navigation menu

rack-json_response_wrapper 0.1.2

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: ...}

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.1.3 - September 15, 2014 (6.5 KB)
  2. 0.1.2 - September 10, 2014 (6.5 KB)
  3. 0.1.1 - August 27, 2014 (6.5 KB)
  4. 0.1.0 - August 27, 2014 (6.5 KB)

Development Dependencies (3):

rack-test = 0.6.2
rspec = 3.0.0
sinatra = 1.4.5

Owners:

Authors:

  • g. nicholas d'andrea

SHA 256 checksum:

f03d9387f8a287d1bf5da5065453f89c0a023fcbf683fc50551345279112d4f1

Total downloads 10,051

For this version 2,249

License:

Unlicense / Public Domain

Required Ruby Version: >= 0

Links: