Skip to content
This repository
Browse code

[fix] mime: made the starting crlf delimiter optional

  • Loading branch information...
commit a6bb931697fbdc6f255df63a520acd2bb269504f 1 parent 93fa005
Frederic Ye Aqua-Ye authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  stdlib/web/mail/mime.opa
2  stdlib/web/mail/mime.opa
@@ -198,7 +198,7 @@ Mime = {{
198 198
199 199 parser(b:string) =
200 200 delimiter =
201   - parser crlf_parser (!("--"|crlf_parser) .)* "--" Parser.of_string(b) -> void
  201 + parser crlf_parser? (!("--"|crlf_parser) .)* "--" Parser.of_string(b) -> void
202 202 close_delimiter =
203 203 parser delimiter "--" -> void
204 204 body_part =

0 comments on commit a6bb931

Please sign in to comment.
Something went wrong with that request. Please try again.