on master help sign in
Version bump
commitf33eb3f4ad188bf288d449b30bc2630c553042c1 authorMichael Snoyman <michael@snoyman.com> dateThu 26 Mar 2015, 14:50 (12 years ago) parentfa36e4b
3 files changed+9−1
wai-extra/ChangeLog.md+4 wai-extra/Network/Wai/Middleware/HttpAuth.hs+4 wai-extra/wai-extra.cabal+1−1
wai-extra/ChangeLog.md+4
@@ -1,3 +1,7 @@
1+## 3.0.5
2+
3+* add functions to extract authentication data from Authorization header [#352](add functions to extract authentication data from Authorization header #352)
4+
15## 3.0.4.6
26
37* Access log sequence not valid [#336](https://github.com/yesodweb/wai/issues/336)
wai-extra/Network/Wai/Middleware/HttpAuth.hs+4
@@ -97,6 +97,8 @@ instance IsString AuthSettings where
9797
9898-- | Extract basic authentication data from usually __Authorization__
9999-- header value. Returns username and password
100+--
101+-- Since 3.0.5
100102extractBasicAuth :: ByteString -> Maybe (ByteString, ByteString)
101103extractBasicAuth bs =
102104 let (x, y) = S.break isSpace bs
@@ -111,6 +113,8 @@ extractBasicAuth bs =
111113
112114-- | Extract bearer authentication data from __Authorization__ header
113115-- value. Returns bearer token
116+--
117+-- Since 3.0.5
114118extractBearerAuth :: ByteString -> Maybe ByteString
115119extractBearerAuth bs =
116120 let (x, y) = S.break isSpace bs
wai-extra/wai-extra.cabal+1−1
@@ -1,5 +1,5 @@
11Name: wai-extra
2−Version: 3.0.4.6
2+Version: 3.0.5
33Synopsis: Provides some basic WAI handlers and middleware.
44description:
55 Provides basic WAI handler and middleware functionality: