RubyGems Navigation menu

sinatra-cors 1.2.0

This Sinatra plugin supports the full CORS spec including automatic support for CORS preflight (OPTIONS) requests. It uses CORS security best practices. The plugin logs to the default logger to guide you in setting things up properly. It will tell you why a CORS request failed and tell you how to fix it.

Gemfile:
=

install:
=

Versions:

  1. 1.2.0 July 26, 2020 (5.5 KB)
  2. 1.1.0 October 06, 2017 (5.5 KB)
  3. 1.0.2 October 04, 2017 (5.5 KB)
  4. 1.0.1 July 30, 2017 (5.5 KB)
  5. 1.0.0 July 26, 2017 (5.5 KB)
Show all versions (10 total)

Owners:

Pushed by:

Authors:

  • Jason Desrosiers

SHA 256 checksum:

=

Total downloads 183,738

For this version 145,525

Version Released:

License:

MIT

Required Ruby Version: >= 0

Links: