Browse files

[fix] mime: re-enable text/plain while parsing body

  • Loading branch information...
1 parent afa04b1 commit 4812e2790ff8bfa21ccf0381f57e72296d26c67b @Aqua-Ye Aqua-Ye committed Mar 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 stdlib/web/mail/mime.opa
View
2 stdlib/web/mail/mime.opa
@@ -301,7 +301,7 @@ Mime = {{
| "multipart/related" ->
boundary = Header.extract_value("boundary", content_type_list)
multipart(body, boundary)
- // | "text/plain" -> {plain=decoded_body}
+ | "text/plain" -> {plain=decoded_body}
| "text/html" -> {html=Xhtml.of_string(decoded_body)}
| _ ->
match Header.find("Content-Disposition", headers)

0 comments on commit 4812e27

Please sign in to comment.