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
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 && <0.15), 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 Wed Jun 24 13:52:05 UTC 2015 by OliverCharles
Distributions NixOS:1.2.9
Downloads 2269 total (32 in the last 30 days)
Votes
0 []
Status Docs available [build log]
Last success reported on 2015-06-24 [all 1 reports]

Modules

[Index]

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