Skip to content

Commit d1e47b0

Browse files
committed
PR feedback
1 parent 4ca7bb8 commit d1e47b0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/gleam/http.gleam

+3-3
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,9 @@ pub fn parse_multipart_body(
195195
data: BitString,
196196
boundary: String,
197197
) -> Result(MultipartBody, Nil) {
198-
let boundary = bit_string.from_string(boundary)
199-
parse_body_with_bit_string(data, boundary)
198+
boundary
199+
|> bit_string.from_string
200+
|> parse_body_with_bit_string(data, _)
200201
}
201202

202203
fn parse_body_with_bit_string(
@@ -300,7 +301,6 @@ fn parse_headers_after_prelude(
300301
}
301302
}
302303

303-
// TODO: implement
304304
fn skip_preamble(
305305
data: BitString,
306306
boundary: BitString,

0 commit comments

Comments
 (0)