hoauth 0.2.0 → 0.2.1
raw patch · 2 files changed
+13/−13 lines, 2 filesdep ~SHAdep ~binarydep ~bytestringPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: SHA, binary, bytestring, curl, dataenc, mtl, old-locale, random, time, utf8-string
API changes (from Hackage documentation)
Files
hoauth.cabal view
@@ -1,5 +1,5 @@ name: hoauth-version: 0.2.0+version: 0.2.1 category: Network,Protocol,OAuth license: BSD3 license-file: LICENSE@@ -19,16 +19,16 @@ library build-depends: base<5- ,bytestring- ,binary- ,SHA- ,dataenc- ,utf8-string- ,time- ,old-locale- ,random- ,curl- ,mtl+ ,bytestring>=0.9.1.5+ ,binary>=0.5.0.2+ ,SHA>=1.4.1.1+ ,dataenc>=0.13.0.2+ ,utf8-string>=0.3.4+ ,time>=1.1.4+ ,old-locale>=1.0.0.2+ ,random>=1.0.0.2+ ,curl>=1.3.5+ ,mtl>=1.1.0.2 exposed-modules: Network.OAuth.Http.Request ,Network.OAuth.Http.Response ,Network.OAuth.Http.HttpClient
src/main/haskell/Network/OAuth/Http/HttpClient.hs view
@@ -36,7 +36,7 @@ import Control.Monad.Trans import Network.OAuth.Http.Request import Network.OAuth.Http.Response-import Data.Char (chr)+import Data.Char (chr,ord) import qualified Data.ByteString.Lazy as B -- | The HttpClient type class.@@ -54,7 +54,7 @@ return $ RspHttp (respStatus rsp) (respStatusLine rsp) (fromList.respHeaders $ rsp)- (respBody rsp)+ (B.pack.map (fromIntegral.ord).respBody $ rsp) where httpVersion = case (version req) of Http10 -> HttpVersion10 Http11 -> HttpVersion11