Re: [notmuch] [PATCH] Look for text/html content types ignoring case
authorDavid Edmondson <dme@dme.org>
Tue, 16 Feb 2010 19:11:24 +0000 (19:11 +0000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:36:13 +0000 (09:36 -0800)
c3/aacd68ab6012b4f0e2ea8e2adcdece394de3cd [new file with mode: 0644]

diff --git a/c3/aacd68ab6012b4f0e2ea8e2adcdece394de3cd b/c3/aacd68ab6012b4f0e2ea8e2adcdece394de3cd
new file mode 100644 (file)
index 0000000..5965c79
--- /dev/null
@@ -0,0 +1,64 @@
+Return-Path: <dme@dme.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id CDF05431FBC\r
+       for <notmuch@notmuchmail.org>; Tue, 16 Feb 2010 11:11:58 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.98\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.98 tagged_above=-999 required=5 tests=[AWL=-0.981,\r
+       BAYES_50=0.001] autolearn=ham\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id SgR2dZzlTyzc for <notmuch@notmuchmail.org>;\r
+       Tue, 16 Feb 2010 11:11:58 -0800 (PST)\r
+Received: from mail-ew0-f220.google.com (mail-ew0-f220.google.com\r
+       [209.85.219.220])\r
+       by olra.theworths.org (Postfix) with ESMTP id 09D52431FAE\r
+       for <notmuch@notmuchmail.org>; Tue, 16 Feb 2010 11:11:57 -0800 (PST)\r
+Received: by ewy20 with SMTP id 20so6986059ewy.0\r
+       for <notmuch@notmuchmail.org>; Tue, 16 Feb 2010 11:11:57 -0800 (PST)\r
+Received: by 10.213.48.5 with SMTP id p5mr1910645ebf.53.1266347502243;\r
+       Tue, 16 Feb 2010 11:11:42 -0800 (PST)\r
+Received: from aw.hh.sledj.net (gmp-ea-fw-1b.sun.com [192.18.8.1])\r
+       by mx.google.com with ESMTPS id 28sm19071055eyg.44.2010.02.16.11.11.40\r
+       (version=TLSv1/SSLv3 cipher=RC4-MD5);\r
+       Tue, 16 Feb 2010 11:11:40 -0800 (PST)\r
+Received: by aw.hh.sledj.net (Postfix, from userid 1000)\r
+       id 352117007C; Tue, 16 Feb 2010 19:11:24 +0000 (GMT)\r
+To: James Westby <jw+debian@jameswestby.net>, notmuch@notmuchmail.org\r
+In-Reply-To: <1266346260-3858-1-git-send-email-jw+debian@jameswestby.net>\r
+References: <1266346260-3858-1-git-send-email-jw+debian@jameswestby.net>\r
+From: David Edmondson <dme@dme.org>\r
+Date: Tue, 16 Feb 2010 19:11:24 +0000\r
+Message-ID: <871vgl5737.fsf@aw.hh.sledj.net>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+Subject: Re: [notmuch] [PATCH] Look for text/html content types ignoring case\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Tue, 16 Feb 2010 19:11:59 -0000\r
+\r
+On Tue, 16 Feb 2010 18:51:00 +0000, James Westby <jw+debian@jameswestby.net> wrote:\r
+> Some people send html parts as text/HTML or similar, so do a\r
+> case-sensitive comparison when checking for html parts.\r
+\r
+There are various other places where `equal' is used to compare MIME\r
+types with strings. Shouldn't they all be fixed? (I see TEXT/PLAIN\r
+frequently.)\r
+\r
+dme.\r
+-- \r
+David Edmondson, http://dme.org\r