Permalink
Browse files

[fix] mime: made the starting crlf delimiter optional

  • Loading branch information...
1 parent 93fa005 commit a6bb931697fbdc6f255df63a520acd2bb269504f @Aqua-Ye Aqua-Ye committed Feb 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 stdlib/web/mail/mime.opa
View
@@ -198,7 +198,7 @@ Mime = {{
parser(b:string) =
delimiter =
- parser crlf_parser (!("--"|crlf_parser) .)* "--" Parser.of_string(b) -> void
+ parser crlf_parser? (!("--"|crlf_parser) .)* "--" Parser.of_string(b) -> void
close_delimiter =
parser delimiter "--" -> void
body_part =

0 comments on commit a6bb931

Please sign in to comment.