summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichaelSnoyman <>2018-11-23 11:32:00 (GMT)
committerhdiff <hdiff@hdiff.luite.com>2018-11-23 11:32:00 (GMT)
commit741d4c0d2b17ce158ebb56f830bc3436472033eb (patch)
treed3b18b2c163821857608ffdada0d948f52ed90e1
parent238905e06040b35e475575e69ea4d994367a9a13 (diff)
version 2.3.32.3.3
-rw-r--r--ChangeLog.md5
-rw-r--r--Network/HTTP/Simple.hs5
-rw-r--r--http-conduit.cabal4
3 files changed, 11 insertions, 3 deletions
diff --git a/ChangeLog.md b/ChangeLog.md
index e943367..3323bce 100644
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -1,3 +1,8 @@
+## 2.3.3
+
+* Reexport Header, QueryItem and RequestHeaders from Network.HTTP.Types
+* Rewrite a type signature of setRequestHeaders with RequestHeaders
+
## 2.3.2
* Adds `parseRequestThrow`, `parseRequestThrow_`, and
diff --git a/Network/HTTP/Simple.hs b/Network/HTTP/Simple.hs
index bac1b5e..6417d79 100644
--- a/Network/HTTP/Simple.hs
+++ b/Network/HTTP/Simple.hs
@@ -28,8 +28,11 @@ module Network.HTTP.Simple
, httpSource
, withResponse
-- * Types
+ , H.Header
, H.Query
+ , H.QueryItem
, H.Request
+ , H.ResponseHeaders
, H.Response
, JSONException (..)
, H.HttpException (..)
@@ -328,7 +331,7 @@ setRequestHeader name vals req =
-- __first__.
--
-- @since 2.1.10
-setRequestHeaders :: [(H.HeaderName, S.ByteString)] -> H.Request -> H.Request
+setRequestHeaders :: H.RequestHeaders -> H.Request -> H.Request
setRequestHeaders x req = req { H.requestHeaders = x }
-- | Get the query string parameters
diff --git a/http-conduit.cabal b/http-conduit.cabal
index d442239..cb7d587 100644
--- a/http-conduit.cabal
+++ b/http-conduit.cabal
@@ -1,5 +1,5 @@
name: http-conduit
-version: 2.3.2
+version: 2.3.3
license: BSD3
license-file: LICENSE
author: Michael Snoyman <michael@snoyman.com>
@@ -29,7 +29,7 @@ library
, conduit >= 1.2
, conduit-extra >= 1.1
, http-types >= 0.7
- , http-client >= 0.5 && < 0.6
+ , http-client >= 0.5.13 && < 0.6
, http-client-tls >= 0.3 && < 0.4
, mtl
, unliftio-core