packages feed

haxr 3000.11.1.4 → 3000.11.1.5

raw patch · 3 files changed

+10/−2 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

CHANGES view
@@ -1,3 +1,7 @@+* 3000.11.1.5 (13 May 2016)++  - bug fix in parsing username & password from URI+ * 3000.11.1.4 (18 March 2016)    - build with template-haskell 2.11 / GHC 8.0.1
Network/XmlRpc/Client.hs view
@@ -150,6 +150,7 @@ -- | Post some content to a uri, return the content of the response --   or an error. -- FIXME: should we really use fail?+ post :: String -> HeadersAList -> BSL.ByteString -> IO U.ByteString post url headers content = do     uri <- maybeFail ("Bad URI: '" ++ url ++ "'") (parseURI url)@@ -216,7 +217,7 @@     where       parseUserInfo info = let (u,pw) = break (==':') $ uriUserInfo info                            in ( if null u then Nothing else Just u-                              , if null pw then Nothing else Just (tail pw))+                              , if null pw then Nothing else Just $ dropAtEnd $ tail pw )  -- -- Utility functions@@ -224,3 +225,6 @@  maybeFail :: Monad m => String -> Maybe a -> m a maybeFail msg = maybe (fail msg) return++dropAtEnd :: String -> String+dropAtEnd l = take (length l - 1) l
haxr.cabal view
@@ -1,5 +1,5 @@ Name: haxr-Version: 3000.11.1.4+Version: 3000.11.1.5 Cabal-version: >=1.10 Build-type: Simple Copyright: Bjorn Bringert, 2003-2006