wrecker 1.2.2.0 → 1.2.3.0
raw patch · 2 files changed
+7/−2 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- src/Network/Wreq/Wrecker.hs +6/−1
- wrecker.cabal +1/−1
src/Network/Wreq/Wrecker.hs view
@@ -45,6 +45,8 @@ import Data.Aeson (FromJSON) import qualified Data.ByteString.Lazy as L import Data.Default (def)+import qualified Data.Text.Lazy as Text+import qualified Data.Text.Lazy.Encoding as Encoding import Network.Connection (ConnectionContext) import qualified Network.HTTP.Client as HTTP import qualified Network.HTTP.Client.TLS as TLS@@ -229,5 +231,8 @@ throwIO (LogicError ("Error decoding the JSON response from " ++- verb ++ " " ++ url ++ " : " ++ err))+ verb +++ " " ++ url ++ " : " ++ err ++ "\n\n" ++ "Actually got:\n" ++ responseBody)) _ -> throwIO ex+ responseBody :: String+ responseBody = Text.unpack . Encoding.decodeUtf8 . HTTP.responseBody $ response
wrecker.cabal view
@@ -1,5 +1,5 @@ name: wrecker-version: 1.2.2.0+version: 1.2.3.0 synopsis: An HTTP Performance Benchmarker description: 'wrecker' is a library and executable for creating HTTP benchmarks. It is designed for