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

Versions1.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
Dependenciesattoparsec (>=0.10 && <0.13), base (>=4.5 && <5), bytestring (==0.10.*), case-insensitive (>=1.0 && <1.3), hashable (>=1.1 && <1.3), network (>=2.4 && <2.6), network-uri (<2.6), snap (==0.13.*), text (>=0.11 && <1.3), transformers (>=0.3 && <0.5), unordered-containers (==0.2.*) or
attoparsec (>=0.10 && <0.13), base (>=4.5 && <5), bytestring (==0.10.*), case-insensitive (>=1.0 && <1.3), hashable (>=1.1 && <1.3), network (==2.6.*), network-uri (==2.6.*), snap (==0.13.*), text (>=0.11 && <1.3), transformers (>=0.3 && <0.5), unordered-containers (==0.2.*)
LicenseBSD3
CopyrightOliver Charles (c) 2013
AuthorOliver Charles
Maintainerollie@ocharles.org.uk
CategoryWeb
Home pagehttp://github.com/ocharles/snap-cors
Source repositoryhead: git clone git://github.com/ocharles/snap-cors.git
Upload dateMon Nov 17 13:37:58 UTC 2014
Uploaded byOliverCharles
DistributionsNixOS:1.2.6
Downloads804 total (110 in last 30 days)

Modules

[Index]

Flags

NameDescriptionDefault
network-uriGet Network.URI from the network-uri packageEnabled

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

Downloads

Maintainers' corner

For package maintainers and hackage trustees