From: Jameson Graef Rollins Date: Mon, 26 Mar 2012 15:21:21 +0000 (+1700) Subject: Re: Reply code with TEXT/PLAIN X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=2595983cff153ef3f6bf30bcc4e69b4a076859d8;p=notmuch-archives.git Re: Reply code with TEXT/PLAIN --- diff --git a/a4/d9992c03afdfd0056f248f2d8e75b543d0fa57 b/a4/d9992c03afdfd0056f248f2d8e75b543d0fa57 new file mode 100644 index 000000000..73af2801a --- /dev/null +++ b/a4/d9992c03afdfd0056f248f2d8e75b543d0fa57 @@ -0,0 +1,98 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id B4B16431FBD + for ; Mon, 26 Mar 2012 08:21:29 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -2.29 +X-Spam-Level: +X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id xUJe-jsBWkvy for ; + Mon, 26 Mar 2012 08:21:29 -0700 (PDT) +Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu + [131.215.239.19]) + by olra.theworths.org (Postfix) with ESMTP id 28F9A431FAF + for ; Mon, 26 Mar 2012 08:21:29 -0700 (PDT) +Received: from fire-doxen.imss.caltech.edu (localhost [127.0.0.1]) + by fire-doxen-postvirus (Postfix) with ESMTP id BD8552E50AC5; + Mon, 26 Mar 2012 08:21:28 -0700 (PDT) +X-Spam-Scanned: at Caltech-IMSS on fire-doxen by amavisd-new +Received: from finestructure.net (pool-108-27-62-184.nycmny.fios.verizon.net + [108.27.62.184]) (Authenticated sender: jrollins) + by fire-doxen-submit (Postfix) with ESMTP id E457A2E508D7; + Mon, 26 Mar 2012 08:21:24 -0700 (PDT) +Received: by finestructure.net (Postfix, from userid 1000) + id C6968573; Mon, 26 Mar 2012 08:21:23 -0700 (PDT) +From: Jameson Graef Rollins +To: Adam Wolfe Gordon , + Mark Walters +Subject: Re: Reply code with TEXT/PLAIN +In-Reply-To: + +References: <87d3814qkv.fsf@qmul.ac.uk> + +User-Agent: Notmuch/0.11.1+335~gf868783 (http://notmuchmail.org) Emacs/23.3.1 + (x86_64-pc-linux-gnu) +Date: Mon, 26 Mar 2012 08:21:21 -0700 +Message-ID: <8762drl766.fsf@servo.finestructure.net> +MIME-Version: 1.0 +Content-Type: multipart/signed; boundary="=-=-="; + micalg=pgp-sha256; protocol="application/pgp-signature" +Cc: notmuch@notmuchmail.org +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Mon, 26 Mar 2012 15:21:29 -0000 + +--=-=-= + +On Sat, 24 Mar 2012 18:19:50 -0600, Adam Wolfe Gordon wrote: +> A bit of Googling indicates that MIME types should be case insensitive +> (i.e. TEXT/PLAIN should match text/plain). Given this, I think it +> makes sense to change the emacs function regardless of whether it +> makes sense for the CLI to output them in lower-case. + +Does it make sense for the cli to canonicalize the content types to +always be lower case? Or should it continue to just pass the content +type exactly as it appears in the original message? Given that +consumers should parse it case insensitively, it maybe doesn't matter, +but it might also be nice for us to be consistent. Maybe it's just ok +as it is. + +jamie. + +--=-=-= +Content-Type: application/pgp-signature + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.11 (GNU/Linux) + +iQIcBAEBCAAGBQJPcIlxAAoJEO00zqvie6q8p7IQAK6Jku8cTtQjSAC8kCl59BEk +qoLfQhAi6n2PNmYTVQvoAjSCLoToAHFfeXVkEseVr+vPc0cZb5jGA+mbGdWQzGjw +8fYXvk9fEDT/Q0BB7/8UF0fIiV2Ezn0SHvajVobBoeW6XGvOmlL98ik7xJIfKtGd ++A+noMFk+r4R+sszx4AtFnKKIcc5Sgpl8DcJ8IplS4mUkmiEA+HeezHlkOz7ro1J +N8oXDQqyLLeuc3W5Q771kUTdUhFQOmN5W46OjUcd78BIB/b5RNchgB191sTFJFxq ++ikuSxggiFsbmEA/eUFLCftyUtZnkNYeI/Bol1OulmxWYoVwyApmdwRmOnaGd/mA +P5BYqOC6sWg6pwCgvUqH3KAOrtPoTFMxqb/mcBeqxCHIr6SUOxJJMtB4tAsizZZD +XDgDhxvUjM/1MPwroey32/3eoqUM4nPewdmfUF32VyNqp0gh0L5co4/ajtR8voyZ +N+uD5qERYcH/uq4GyP/bv/lNoy+HRwZlKJCeJuy+Fzi/c4JI9npOON+3EAgwcyD2 +CEX5jtK859aMTsrFajm0Uy3ZyFBmiFCpq5r2wAfKWTfs3BcG13gu4YRUay5c1xrT +ruF35aTy3McL1HzsaWeAfWJV1zjMZ7GL22I9Z4RtATzcWJOrIIni+D7m9AYLx2BM +W1VXHS6mFZ9eQmX30iU8 +=/n9n +-----END PGP SIGNATURE----- +--=-=-=--