haxr 3000.11.1 → 3000.11.1.1
raw patch · 3 files changed
+6/−2 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGES +4/−0
- Network/XmlRpc/Client.hs +1/−1
- haxr.cabal +1/−1
CHANGES view
@@ -1,3 +1,7 @@+* 3000.11.1.1 (21 July 2015)++ - Bug fix: don't crash with empty URI port+ * 3000.11.1 (10 July 2015) - Support both HTTP and HTTPS automatically, depending on URL.
Network/XmlRpc/Client.hs view
@@ -164,7 +164,7 @@ post_ :: URI -> URIAuth -> HeadersAList -> BSL.ByteString -> IO U.ByteString post_ uri auth headers content = withOpenSSL $ do let hostname = BS.pack (uriRegName auth)- port = fromMaybe 443 (readMaybe $ tail $ uriPort auth)+ port = fromMaybe 443 (readMaybe $ drop 1 $ uriPort auth) c <- case init $ uriScheme uri of "http" ->
haxr.cabal view
@@ -1,5 +1,5 @@ Name: haxr-Version: 3000.11.1+Version: 3000.11.1.1 Cabal-version: >=1.10 Build-type: Simple Copyright: Bjorn Bringert, 2003-2006