Skip to content

Commit

Permalink
Fix compatibility with http-client 0.6+
Browse files Browse the repository at this point in the history
  • Loading branch information
felixonmars committed Jan 19, 2019
1 parent 2bb0766 commit 945ff5f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Network/Wreq/Lens/TH.hs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ module Network.Wreq.Lens.TH
, linkURL
, linkParams

, Form.Part
, Form.PartM
, partName
, partFilename
, partContentType
Expand All @@ -85,7 +85,7 @@ makeLenses ''HTTP.Response
makeLenses ''HTTP.HistoriedResponse
makeLenses ''HTTP.Status
makeLenses ''Types.Link
makeLenses ''Form.Part
makeLenses ''Form.PartM

responseHeader :: HTTP.HeaderName -> Traversal' (HTTP.Response body) ByteString
responseHeader n = responseHeaders . assoc n
Expand Down
2 changes: 1 addition & 1 deletion wreq.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ library
exceptions >= 0.5,
ghc-prim,
hashable,
http-client >= 0.5.3.2,
http-client >= 0.6,
http-client-tls >= 0.3.3,
http-types >= 0.8,
lens >= 4.5,
Expand Down

0 comments on commit 945ff5f

Please sign in to comment.