name: snap-cors version: 1.2.7 synopsis: Add CORS headers to Snap applications description: 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). homepage: http://github.com/ocharles/snap-cors license: BSD3 license-file: LICENSE author: Oliver Charles maintainer: ollie@ocharles.org.uk copyright: Oliver Charles (c) 2013 category: Web build-type: Simple cabal-version: >=1.8 extra-source-files: Changelog.md source-repository head type: git location: git://github.com/ocharles/snap-cors.git flag network-uri description: Get Network.URI from the network-uri package default: True library hs-source-dirs: src exposed-modules: Snap.CORS build-depends: 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, snap >= 0.13 && < 0.14, text >= 0.11 && < 1.3, transformers >= 0.3 && < 0.5, unordered-containers >= 0.2 && <0.3 ghc-options: -Wall if flag(network-uri) build-depends: network-uri >= 2.6 && <2.7, network >= 2.6 && <2.7 else build-depends: network-uri < 2.6, network >= 2.4 && < 2.6