wai-cors 0.1.0 → 0.1.1
raw patch · 4 files changed
+9/−22 lines, 4 filesdep −ghc-primdep −lens
Dependencies removed: ghc-prim, lens
Files
- CHANGELOG.md +7/−0
- Confirmed-Constraints +0/−18
- src/Network/Wai/Middleware/Cors.hs +1/−1
- wai-cors.cabal +1/−3
CHANGELOG.md view
@@ -1,3 +1,10 @@+0.1.1+=====++* Drop redundant dependencies on *lens* and *ghc-prim*++* Fix typo in HTTP header field name `Access-Control-Allow-Credentials`+ 0.1.0 =====
Confirmed-Constraints view
@@ -1,58 +1,43 @@ constraints: MonadRandom == 0.1.12- , aeson == 0.7.0.2 , array == 0.4.0.1 , attoparsec == 0.11.2.1 , base == 4.6.0.1 , base-unicode-symbols == 0.2.2.4- , bifunctors == 4.1.1 , blaze-builder == 0.3.3.2 , bytestring == 0.10.4.0 , case-insensitive == 1.1.0.3 , charset == 0.3.7 , comonad == 4.0 , conduit == 1.0.15.1- , constraints == 0.3.4.2 , containers == 0.5.0.0 , contravariant == 0.4.4 , deepseq == 1.3.0.1 , directory == 1.2.0.1 , distributive == 0.4- , dlist == 0.6.0.1 , either == 4.1.1 , errors == 1.4.5- , exceptions == 0.3.3 , filepath == 1.3.0.1 , ghc-prim == 0.3.0.0 , hashable == 1.2.1.0 , http-types == 0.8.3 , integer-gmp == 0.5.0.0- , lens == 4.0.5 , lifted-base == 0.2.1.1 , mmorph == 1.0.2 , monad-control == 0.3.2.2 , mtl == 2.1.2 , nats == 0.1.2 , network == 2.4.2.2- , newtype == 0.2 , old-locale == 1.0.0.5- , parallel == 3.2.0.4 , parsec == 3.1.5 , parsers == 0.11- , pretty == 1.1.1.0- , primitive == 0.5.1.0- , profunctors == 4.0.2 , random == 1.0.1.1- , reflection == 1.3.2 , resourcet == 0.4.10 , rts == 1.0 , safe == 0.3.3 , scientific == 0.2.0.2 , semigroupoids == 4.0 , semigroups == 0.12.2- , split == 0.2.2- , syb == 0.4.1 , tagged == 0.7- , template-haskell == 2.8.0.0 , text == 1.1.0.1 , text-stream-decode == 0.1.0.4 , time == 1.4.0.1@@ -61,9 +46,6 @@ , transformers-compat == 0.1.1.1 , unix == 2.7.0.0 , unordered-containers == 0.2.3.3- , utf8-string == 0.3.7 , vault == 0.3.0.3- , vector == 0.10.9.1 , void == 0.6.1 , wai == 1.4.1- , zlib == 0.5.4.1
src/Network/Wai/Middleware/Cors.hs view
@@ -264,7 +264,7 @@ commonCorsHeaders Nothing True = [("Access-Control-Allow-Origin", "*"), ("Vary", "Origin")] commonCorsHeaders Nothing False = [("Access-Control-Allow-Origin", "*")] commonCorsHeaders (Just (o, False)) _ = [("Access-Control-Allow-Origin", o)]- commonCorsHeaders (Just (o, True)) _ = [("Access-Control-Allow-Origin", o), ("Acdess-Control-Allow-Credentials", "true")]+ commonCorsHeaders (Just (o, True)) _ = [("Access-Control-Allow-Origin", o), ("Access-Control-Allow-Credentials", "true")] -- HTTP response headers that are only used with normal CORS responses --
wai-cors.cabal view
@@ -3,7 +3,7 @@ -- ------------------------------------------------------ -- Name: wai-cors-Version: 0.1.0+Version: 0.1.1 Synopsis: CORS for WAI Description:@@ -45,9 +45,7 @@ case-insensitive >= 1.0.0.1, charset >= 0.3.7, errors >= 1.4.1,- ghc-prim, http-types >= 0.8.0,- lens >= 0.4, parsers >= 0.11, resourcet >= 0.4, transformers >= 0.3,