Skip to content

Commit 0260f77

Browse files
committed
bump streaming-commons for stackage
1 parent 2cfa79f commit 0260f77

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

Data/ByteString/Streaming/Aeson.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
> import Data.Text (Text)
3535
> import Data.Function ((&))
3636
> main = do
37-
> req <- parseUrl "https://raw.githubusercontent.com/ondrap/json-stream/master/benchmarks/json-data/buffer-builder.json"
37+
> req <- parseRequest "https://raw.githubusercontent.com/ondrap/json-stream/master/benchmarks/json-data/buffer-builder.json"
3838
> m <- newManager tlsManagerSettings
3939
> withHTTP req m $ \resp -> do
4040
> let names, friend_names :: Parser Text

Data/ByteString/Streaming/HTTP.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
-- > import Data.ByteString.Streaming.HTTP
1111
-- >
1212
-- > main = do
13-
-- > req <- parseUrl "https://www.example.com"
13+
-- > req <- parseRequest "https://www.example.com"
1414
-- > m <- newManager tlsManagerSettings
1515
-- > withHTTP req m $ \resp -> Q.stdout (responseBody resp)
1616
-- >
@@ -23,7 +23,7 @@
2323
-- > import Data.ByteString.Streaming.HTTP
2424
-- >
2525
-- > main = do
26-
-- > req <- parseUrl "https://www.example.com"
26+
-- > req <- parseRequest "https://httpbin.org/post"
2727
-- > let req' = req
2828
-- > { method = "POST"
2929
-- > , requestBody = stream Q.stdin

streaming-utils.cabal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: streaming-utils
2-
version: 0.1.4.6
2+
version: 0.1.4.7
33
synopsis: http, attoparsec, pipes and other utilities for the streaming libraries
44

55
description: This package includes http-client, aeson, attoparsec, zlib and pipes utilities for use with
@@ -79,7 +79,7 @@ library
7979
aeson > 0.8 && <1.2,
8080
json-stream > 0.4.0 && < 0.4.2,
8181
resourcet > 1.0 && < 1.2,
82-
streaming-commons > 0.1.0 && < 0.1.17
82+
streaming-commons > 0.1.0 && < 0.1.18
8383

8484
-- hs-source-dirs:
8585
default-language: Haskell2010

0 commit comments

Comments
 (0)