The snap-cors package

[Tags:bsd3, library]

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).

Properties

Versions 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
Change log Changelog.md
Dependencies attoparsec (>=0.10 && <0.14), base (>=4.5 && <5), bytestring (==0.10.*), case-insensitive (>=1.0 && <1.3), hashable (>=1.1 && <1.3), network (>=2.4 && <2.7), network-uri (<2.7), snap (>=0.13 && <1.1), text (>=0.11 && <1.3), transformers (>=0.3 && <0.5), unordered-containers (==0.2.*) [details]
License BSD3
Copyright Oliver Charles (c) 2013
Author Oliver Charles
Maintainer ollie@ocharles.org.uk
Stability Unknown
Category Web
Home page http://github.com/ocharles/snap-cors
Source repository head: git clone git://github.com/ocharles/snap-cors.git
Uploaded Thu Aug 25 12:46:29 UTC 2016 by OliverCharles
Distributions NixOS:1.2.10
Downloads 2369 total (23 in the last 30 days)
Votes
0 []
Status Docs not available [build log]
All reported builds failed as of 2016-08-25 [all 1 reports]

Modules

  • Snap
    • Snap.CORS

Flags

NameDescriptionDefaultType
network-uriGet Network.URI from the network-uri packageEnabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

For package maintainers and hackage trustees