snap-cors: Add CORS headers to Snap applications
Deprecated
in favor of snap-core
Add CORS (cross-origin resource sharing) headers to Snap applications. This enables web applications running on other domains to make requests against another application.
Currently this package provides support for setting the
Access-Control-Allow-Origin
and Access-Control-Allow-Credentials
headers,
it does not yet do pre-flighting. If you need this, please open an issue on
Github and I'll fix it ASAP (otherwise I will add this feature as time permits).
Flags
Automatic Flags
Name | Description | Default |
---|---|---|
network-uri | Get Network.URI from the network-uri package | Enabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- snap-cors-1.2.6.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 1.0.0, 1.0.1, 1.1.0, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.2.5.1, 1.2.6, 1.2.7, 1.2.8, 1.2.9, 1.2.10, 1.2.11, 1.3.0 |
---|---|
Change log | Changelog.md |
Dependencies | attoparsec (>=0.10 && <0.13), base (>=4.5 && <5), bytestring (>=0.10 && <0.11), case-insensitive (>=1.0 && <1.3), hashable (>=1.1 && <1.3), network (>=2.4 && <2.7), network-uri (<2.7), snap (>=0.13 && <0.14), text (>=0.11 && <1.3), transformers (>=0.3 && <0.5), unordered-containers (>=0.2 && <0.3) [details] |
License | BSD-3-Clause |
Copyright | Oliver Charles (c) 2013 |
Author | Oliver Charles |
Maintainer | ollie@ocharles.org.uk |
Category | Web |
Home page | http://github.com/ocharles/snap-cors |
Source repo | head: git clone git://github.com/ocharles/snap-cors.git |
Uploaded | by OliverCharles at 2014-11-17T13:37:58Z |
Distributions | NixOS:1.3.0 |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Downloads | 12368 total (47 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs uploaded by user Build status unknown [no reports yet] |