http-client 0.6.4 → 0.6.4.1
raw patch · 7 files changed
+17/−8 lines, 7 filesdep ~base
Dependency ranges changed: base
Files
- ChangeLog.md +4/−0
- Network/HTTP/Client.hs +2/−1
- Network/HTTP/Client/Body.hs +1/−1
- Network/HTTP/Client/Types.hs +6/−2
- Network/HTTP/Proxy.hs +1/−1
- README.md +1/−1
- http-client.cabal +2/−2
ChangeLog.md view
@@ -1,5 +1,9 @@ # Changelog for http-client +## 0.6.4.1++* Win32 2.8 support [#430](https://github.com/snoyberg/http-client/pull/430)+ ## 0.6.4 * Avoid throwing an exception when a malformed HTTP header is received,
Network/HTTP/Client.hs view
@@ -352,7 +352,8 @@ -- > print $ responseBody response -- --- | Specify a response timeout in microseconds+-- | Specify maximum time in microseconds the retrieval of response+-- headers is allowed to take -- -- @since 0.5.0 responseTimeoutMicro :: Int -> ResponseTimeout
Network/HTTP/Client/Body.hs view
@@ -22,7 +22,7 @@ import Control.Monad (unless, when) import qualified Data.Streaming.Zlib as Z --- ^ Get a single chunk of data from the response body, or an empty+-- | Get a single chunk of data from the response body, or an empty -- bytestring if no more data is available. -- -- Note that in order to consume the entire request body, you will need to
Network/HTTP/Client/Types.hs view
@@ -560,12 +560,13 @@ } deriving T.Typeable --- | How to deal with timing out a response+-- | How to deal with timing out on retrieval of response headers. -- -- @since 0.5.0 data ResponseTimeout = ResponseTimeoutMicro !Int- -- ^ Wait the given number of microseconds and then throw an exception+ -- ^ Wait the given number of microseconds for response headers to+ -- load, then throw an exception | ResponseTimeoutNone -- ^ Wait indefinitely | ResponseTimeoutDefault@@ -694,6 +695,9 @@ -- Since 0.3.7 , managerModifyRequest :: Request -> IO Request -- ^ Perform the given modification to a @Request@ before performing it.+ --+ -- This function may be called more than once during request processing.+ -- see https://github.com/snoyberg/http-client/issues/350 -- -- Default: no modification --
Network/HTTP/Proxy.hs view
@@ -175,7 +175,7 @@ enable <- toBool . maybe 0 id A.<$> regQueryValueDWORD hkey "ProxyEnable" if enable then do-#if MIN_VERSION_Win32(2, 6, 0)+#if MIN_VERSION_Win32(2, 6, 0) && !MIN_VERSION_Win32(2, 8, 0) server <- regQueryValue hkey "ProxyServer" exceptions <- try $ regQueryValue hkey "ProxyOverride" :: IO (Either IOException String) #else
README.md view
@@ -2,7 +2,7 @@ =========== Full tutorial docs are available at:-https://haskell-lang.org/library/http-client+https://github.com/snoyberg/http-client/blob/master/TUTORIAL.md An HTTP client engine, intended as a base layer for more user-friendly packages.
http-client.cabal view
@@ -1,5 +1,5 @@ name: http-client-version: 0.6.4+version: 0.6.4.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@@ -37,7 +37,7 @@ Network.PublicSuffixList.Serialize Network.PublicSuffixList.DataStructure Data.KeyedPool- build-depends: base >= 4.6 && < 5+ build-depends: base >= 4.10 && < 5 , bytestring >= 0.10 , text >= 0.11 , http-types >= 0.8