http-client 0.5.13 → 0.5.13.1
raw patch · 4 files changed
+14/−5 lines, 4 filesdep +unsupported-ghc-versiondep ~base
Dependencies added: unsupported-ghc-version
Dependency ranges changed: base
Files
- ChangeLog.md +4/−0
- Network/HTTP/Client/Cookies.hs +1/−1
- Network/HTTP/Client/Types.hs +2/−2
- http-client.cabal +7/−2
ChangeLog.md view
@@ -1,3 +1,7 @@+## 0.5.13.1++* Add a workaround for a cabal bug [haskell-infra/hackage-trustees#165](https://github.com/haskell-infra/hackage-trustees/issues/165)+ ## 0.5.13 * Adds `setRequestCheckStatus` and `throwErrorStatusCodes` functions.
Network/HTTP/Client/Cookies.hs view
@@ -121,7 +121,7 @@ insertCookiesIntoRequest :: Req.Request -- ^ The request to insert into -> CookieJar -- ^ Current cookie jar -> UTCTime -- ^ Value that should be used as \"now\"- -> (Req.Request, CookieJar) -- ^ (Ouptut request, Updated cookie jar (last-access-time is updated))+ -> (Req.Request, CookieJar) -- ^ (Output request, Updated cookie jar (last-access-time is updated)) insertCookiesIntoRequest request cookie_jar now | BS.null cookie_string = (request, cookie_jar') | otherwise = (request {Req.requestHeaders = cookie_header : purgedHeaders}, cookie_jar')
Network/HTTP/Client/Types.hs view
@@ -77,7 +77,7 @@ -- ^ Send data to server , connectionClose :: IO () -- ^ Close connection. Any successive operation on the connection- -- (exept closing) should fail with `ConnectionClosed` exception.+ -- (except closing) should fail with `ConnectionClosed` exception. -- It is allowed to close connection multiple times. } deriving T.Typeable@@ -156,7 +156,7 @@ -- -- @since 0.5.0 | ConnectionFailure SomeException- -- ^ An exception occured when trying to connect to the+ -- ^ An exception occurred when trying to connect to the -- server. -- -- @since 0.5.0
http-client.cabal view
@@ -1,5 +1,5 @@ name: http-client-version: 0.5.13+version: 0.5.13.1 synopsis: An HTTP client engine description: Hackage documentation generation is not reliable. For up to date documentation, please see: <http://www.stackage.org/package/http-client>. homepage: https://github.com/snoyberg/http-client@@ -68,7 +68,12 @@ -- See build failure at https://travis-ci.org/snoyberg/http-client/jobs/359573631 if impl(ghc < 7.10)- buildable: False+ -- Disable building with GHC before 8.0.2.+ -- Due to a cabal bug, do not use buildable: False,+ -- but instead give it an impossible constraint.+ -- See: https://github.com/haskell-infra/hackage-trustees/issues/165+ build-depends: unsupported-ghc-version > 1 && < 1+ if os(mingw32) build-depends: Win32, safe