packages feed

req 1.2.0 → 1.2.1

raw patch · 3 files changed

+7/−3 lines, 3 files

Files

CHANGELOG.md view
@@ -1,3 +1,7 @@+## Req 1.2.1++* Fixed a typo in the type signature of `parseUrl`.+ ## Req 1.2.0  * Added the `parseUrl` function.
Network/HTTP/Req.hs view
@@ -889,11 +889,11 @@ -- | A more general URI parsing function that can be used when scheme is not -- known beforehand. ----- @since 1.2.0+-- @since 1.2.1  parseUrl   :: ByteString-  -> Maybe (Either (Url 'Http, Option scheme) (Url 'Https, Option scheme))+  -> Maybe (Either (Url 'Http, Option scheme0) (Url 'Https, Option scheme1)) parseUrl url = Left <$> parseUrlHttp url <|> Right <$> parseUrlHttps url  -- | Get host\/collection of path pieces and possibly query parameters
req.cabal view
@@ -1,5 +1,5 @@ name:                 req-version:              1.2.0+version:              1.2.1 cabal-version:        1.18 tested-with:          GHC==7.10.3, GHC==8.0.2, GHC==8.2.2, GHC==8.4.3 license:              BSD3