@@ -308,7 +308,7 @@ instance ( FromMultipart tag a
308
308
instance (ToMultipart tag a , HasClient m api , MultipartBackend tag )
309
309
=> HasClient m (MultipartForm tag a :> api ) where
310
310
311
- type Client m (MultipartForm tag a :> api ) =
311
+ type Client m (MultipartForm tag a :> api ) =
312
312
(LBS. ByteString , a ) -> Client m api
313
313
314
314
clientWithRoute pm _ req (boundary, param) =
@@ -352,7 +352,7 @@ genBoundary = LBS.pack
352
352
353
353
-- | Given a bytestring for the boundary, turns a `MultipartData` into
354
354
-- a 'RequestBody'
355
- multipartToBody :: forall tag .
355
+ multipartToBody :: forall tag .
356
356
MultipartBackend tag
357
357
=> LBS. ByteString
358
358
-> MultipartData tag
@@ -373,7 +373,7 @@ multipartToBody boundary mp = RequestBodySource $ files' <> source ["--", bounda
373
373
mempty' = SourceT ($ Stop )
374
374
crlf = " \r\n "
375
375
lencode = LBS. fromStrict . encodeUtf8
376
- renderInput input = renderPart (lencode . iName $ input)
376
+ renderInput input = renderPart (lencode . iName $ input)
377
377
" text/plain"
378
378
" "
379
379
(source . pure . lencode . iValue $ input)
@@ -502,7 +502,7 @@ instance MultipartBackend Tmp where
502
502
type MultipartBackendOptions Tmp = TmpBackendOptions
503
503
504
504
defaultBackendOptions _ = defaultTmpBackendOptions
505
- -- streams the file from disk
505
+ -- streams the file from disk
506
506
loadFile _ fp =
507
507
SourceT $ \ k ->
508
508
withFile fp ReadMode $ \ hdl ->
0 commit comments