hoauth 0.3.4 → 0.3.5
raw patch · 2 files changed
+6/−2 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
hoauth.cabal view
@@ -1,5 +1,5 @@ name: hoauth-version: 0.3.4+version: 0.3.5 category: Network,Protocol,OAuth license: BSD3 license-file: LICENSE
src/main/haskell/Network/OAuth/Http/CurlHttpClient.hs view
@@ -38,6 +38,7 @@ import Control.Monad.Trans import Data.Char (chr,ord) import qualified Data.ByteString.Lazy as B+import qualified Data.ByteString.Lazy.UTF8 as U data CurlClient = CurlClient | OptionsCurlClient [CurlOption] @@ -102,4 +103,7 @@ of CurlClient -> [] OptionsCurlClient o -> o - fromResponse rsp = RspHttp (respStatus rsp) (respStatusLine rsp) (fromList.respHeaders $ rsp) (B.pack.map (fromIntegral.ord).respBody $ rsp)+ packedBody rsp = U.fromString . respBody $ rsp++ fromResponse rsp = RspHttp (respStatus rsp) (respStatusLine rsp) (fromList.respHeaders $ rsp) (packedBody rsp)+