From c97baa979878145c599c057d8bba01618c223178 Mon Sep 17 00:00:00 2001 From: "Iavor S. Diatchki" Date: Fri, 1 Jun 2012 09:30:52 -0700 Subject: Integrate improvements from Scrive (thanks to Magnus Carlsson!) * Codec.MIME.Parse.parseMIMEBody: stick the header argument into the returned mime_val_headers field. * Codec.MIME.Parse.parseMIMEMessage: be more tolerant about non-standard newlines. * Codec.MIME.Parse.untilMatch: fix a bug demonstrated by input "ab" "aab". --- Codec/MIME/Type.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Codec/MIME/Type.hs') diff --git a/Codec/MIME/Type.hs b/Codec/MIME/Type.hs index 5b91b14..675d29e 100644 --- a/Codec/MIME/Type.hs +++ b/Codec/MIME/Type.hs @@ -14,7 +14,7 @@ -------------------------------------------------------------------- module Codec.MIME.Type where -import Data.List ( concatMap, isSuffixOf ) +import Data.List ( isSuffixOf ) data Type = Type -- cgit v1.2.3