packages feed

snap-cors-1.0.0: snap-cors.cabal

name:                snap-cors
version:             1.0.0
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

library
  hs-source-dirs: src
  exposed-modules:
    Snap.CORS
  build-depends:
    base >= 4.5 && < 5,
    hashable >= 1.1 && <1.2,
    network >= 2.4 && < 2.5,
    snap >= 0.13 && < 0.14,
    text >= 0.11 && < 0.12,
    transformers >= 0.3 && < 0.4,
    unordered-containers >= 0.2 && <0.3
  ghc-options: -Wall