@@ -22,8 +22,8 @@ import qualified Data.Text.Lazy.Builder as Build
22import GHC.Exts (toList)
22import GHC.Exts (toList)
23import Network.Google.Env (Env (..))
23import Network.Google.Env (Env (..))
24import Network.Google.Types
24import Network.Google.Types
25+import qualified Network.HTTP.Client.Conduit as Client
25import Network.HTTP.Conduit
26import Network.HTTP.Conduit
26−import qualified Network.HTTP.Conduit as Client
27import Network.HTTP.Media
27import Network.HTTP.Media
28import Network.HTTP.Types
28import Network.HTTP.Types
@@ -66,7 +66,7 @@ perform Env{..} x = catches go handlers
66 | Just (t, _) <- _rqBody = ((hContentType, renderHeader t) :)
66 | Just (t, _) <- _rqBody = ((hContentType, renderHeader t) :)
67 | otherwise = id
67 | otherwise = id
69− body | Just (_, b) <- _rqBody = b
69+ body | Just (_, b) <- _rqBody = Client.requestBodySourceChunked b
70 | otherwise = mempty
70 | otherwise = mempty
72 path = Text.encodeUtf8
72 path = Text.encodeUtf8