scotty-session 0.0.1 → 0.0.2
raw patch · 2 files changed
+3/−3 lines, 2 filesdep ~scotty
Dependency ranges changed: scotty
Files
- Web/Scotty/Session.hs +1/−1
- scotty-session.cabal +2/−2
Web/Scotty/Session.hs view
@@ -106,7 +106,7 @@ setCookie :: Session a -> ActionM () setCookie sess = do let formattedExp = TL.pack $ formatTime defaultTimeLocale "%a, %d-%b-%Y %X %Z" (sess_validUntil sess)- header "Set-Cookie" $ "sid=" <> TL.fromStrict (sess_id sess) <> "; " <> formattedExp+ setHeader "Set-Cookie" $ "sid=" <> TL.fromStrict (sess_id sess) <> "; " <> formattedExp loadSession :: SessionJar a -> ActionM (Maybe (Session a)) loadSession sessions =
scotty-session.cabal view
@@ -1,5 +1,5 @@ Name: scotty-session-Version: 0.0.1+Version: 0.0.2 Synopsis: Adding session functionality to scotty Homepage: https://github.com/agrafix/scotty-session Bug-reports: https://github.com/agrafix/scotty-session/issues@@ -19,7 +19,7 @@ Library Exposed-modules: Web.Scotty.Session default-language: Haskell2010- build-depends: base >= 3 && < 5, scotty, text, unordered-containers, transformers, stm, bytestring, blaze-builder, old-locale, time, http-types,+ build-depends: base >= 3 && < 5, scotty >= 0.5, text, unordered-containers, transformers, stm, bytestring, blaze-builder, old-locale, time, http-types, wai, base64-bytestring, crypto-api GHC-options: -Wall -fno-warn-orphans -fno-warn-unused-do-bind