Skip to content

Commit a7d888e

Browse files
committed
Remove trailing spaces
1 parent d30b82b commit a7d888e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Servant/Multipart.hs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ instance ( FromMultipart tag a
308308
instance (ToMultipart tag a, HasClient m api, MultipartBackend tag)
309309
=> HasClient m (MultipartForm tag a :> api) where
310310

311-
type Client m (MultipartForm tag a :> api) =
311+
type Client m (MultipartForm tag a :> api) =
312312
(LBS.ByteString, a) -> Client m api
313313

314314
clientWithRoute pm _ req (boundary, param) =
@@ -352,7 +352,7 @@ genBoundary = LBS.pack
352352

353353
-- | Given a bytestring for the boundary, turns a `MultipartData` into
354354
-- a 'RequestBody'
355-
multipartToBody :: forall tag.
355+
multipartToBody :: forall tag.
356356
MultipartBackend tag
357357
=> LBS.ByteString
358358
-> MultipartData tag
@@ -373,7 +373,7 @@ multipartToBody boundary mp = RequestBodySource $ files' <> source ["--", bounda
373373
mempty' = SourceT ($ Stop)
374374
crlf = "\r\n"
375375
lencode = LBS.fromStrict . encodeUtf8
376-
renderInput input = renderPart (lencode . iName $ input)
376+
renderInput input = renderPart (lencode . iName $ input)
377377
"text/plain"
378378
""
379379
(source . pure . lencode . iValue $ input)
@@ -502,7 +502,7 @@ instance MultipartBackend Tmp where
502502
type MultipartBackendOptions Tmp = TmpBackendOptions
503503

504504
defaultBackendOptions _ = defaultTmpBackendOptions
505-
-- streams the file from disk
505+
-- streams the file from disk
506506
loadFile _ fp =
507507
SourceT $ \k ->
508508
withFile fp ReadMode $ \hdl ->

0 commit comments

Comments
 (0)