--- /dev/null
+Return-Path: <josch@debian.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 arlo.cworth.org (Postfix) with ESMTP id 146476DE1643\r
+ for <notmuch@notmuchmail.org>; Sun, 18 Oct 2015 05:05:50 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.063\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.063 tagged_above=-999 required=5\r
+ tests=[AWL=-2.807, URIBL_SBL=0.644, URIBL_SBL_A=0.1]\r
+ autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id WVDa-cTQPVZB for <notmuch@notmuchmail.org>;\r
+ Sun, 18 Oct 2015 05:05:48 -0700 (PDT)\r
+Received: from fulda116.server4you.de (fulda116.server4you.de [62.75.219.19])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 072FD6DE0943\r
+ for <notmuch@notmuchmail.org>; Sun, 18 Oct 2015 05:05:47 -0700 (PDT)\r
+Received: from localhost (ip5f5ade40.dynamic.kabel-deutschland.de\r
+ [95.90.222.64])\r
+ by mister-muffin.de (Postfix) with ESMTPSA id 9670880288;\r
+ Sun, 18 Oct 2015 14:05:44 +0200 (CEST)\r
+Content-Type: multipart/signed; protocol="application/pgp-signature";\r
+ micalg="pgp-sha256"; boundary="===============5813283568621693483=="\r
+MIME-Version: 1.0\r
+Content-Disposition: inline\r
+From: Johannes Schauer <josch@debian.org>\r
+User-Agent: alot/0.3.6\r
+To: Jani Nikula <jani@nikula.org>, "David Bremner" <david@tethera.net>,\r
+ "David Bremner" <david@tethera.net>, notmuch@notmuchmail.org\r
+References: <1443260122-5122-2-git-send-email-jani@nikula.org>\r
+ <1444126846-1918-1-git-send-email-david@tethera.net>\r
+ <87r3kscrsm.fsf@nikula.org>\r
+In-Reply-To: <87r3kscrsm.fsf@nikula.org>\r
+Message-ID: <20151018120544.4280.70668@localhost>\r
+Subject: Re: [WIP] tests: add test for case insensitive Content-Disposition\r
+Date: Sun, 18 Oct 2015 14:05:44 +0200\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.18\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: Sun, 18 Oct 2015 12:05:50 -0000\r
+\r
+--===============5813283568621693483==\r
+Content-Type: text/plain; charset="utf-8"\r
+MIME-Version: 1.0\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+Hi,\r
+\r
+Quoting Jani Nikula (2015-10-18 13:58:01)\r
+> On Tue, 06 Oct 2015, David Bremner <david@tethera.net> wrote:\r
+> > These broken now, but will be fixed in the next commit\r
+> > ---\r
+> >\r
+> > The first test is OK, but the second one currently fails. It isn't\r
+> > clear to me if content dispositions permit RFC2047 style\r
+> > encoding. GMime does not decode them automatically (hence this test is\r
+> > failing). What is true is that the RFC states "Unrecognized\r
+> > disposition types should be treated as `attachment'". So maybe the\r
+> > logic in patch 1 should be reversed to check !=3D 'inline'.\r
+> =\r
+\r
+> > +Content-Type: text/plain\r
+> > +Content-Disposition: =3D?utf-8?b?YXR0YWNobWVudDsgZmlsZW5hbWU9ImJlZ3LDv=\r
+MOfdW5n?=3D\r
+> > + =3D?utf-8?b?LnBkZiI=3D?=3D\r
+> > +Content-Description: this is a very exciting file\r
+> =\r
+\r
+> Did you handcraft the example, or did some program actually produce\r
+> this? I don't think this is [RFC 2231] compliant. IIUC only the content\r
+> disposition parameter values may contain encoded words with\r
+> charset/language specification. Like this,\r
+> =\r
+\r
+> Content-Disposition: attachment; filename=3D"=3D?utf-8?B?cMOkw6RtaWVz?=3D"\r
+\r
+I'm using alot as my MUA and that produced the Content-Disposition line I\r
+quoted.\r
+\r
+Thanks!\r
+\r
+cheers, josch\r
+\r
+--===============5813283568621693483==\r
+MIME-Version: 1.0\r
+Content-Transfer-Encoding: 7bit\r
+Content-Description: signature\r
+Content-Type: application/pgp-signature; name="signature.asc"; charset="us-ascii"\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v2\r
+\r
+iQIcBAABCAAGBQJWI4sYAAoJEPLLpcePvYPhjnsP/1yEawnlB7hExS9Bb8dUqOh7\r
+paNeYjCUNAGko0z+Kt4YysWvK/T7McXr/U9t6osmeKoaRmiCijUTi/9yfXBu3to1\r
+Ou28Fa/gUyfJbiMtE8JbTUfqB/dOSy2wY5RNfAqikU8NkhuNsAjhkncRautZ+YyY\r
+HLJUigT6V5nVoN7FlGjJ1atalEqbn5kpZlnIIafQWW5M5cnHSWiL1n7lmBjWev/T\r
+bQyDmKGN7JN6eyeyHbqvqIcNIPsGQd7sODUNW4ukUz9R1wVzNGBWqpXiI8+zCN3d\r
+YXg1jMNEzGaAjYTcyFKYe74KD2E5tgDeXmII63B7cpsry6OJRHcQUD9I8CJWylC9\r
+ZRuPk4YZy9s8CMtioTPoTq+w8siccSLB9Qcrr3pWWy1b4sNCDgnmSYQD9YJuGgkt\r
+4pzYX3AaorN2ILEuWzN8tqb7iTQXfQLoLYSFoR6lrVO48BGBY7L8Wc+OJUkw+AeX\r
+Czel0eD2mny6SxFw7NtRsDBo1Wwzp869YKd2X0MTVrUm9ZXlRfGcXAGQFBTQFPTn\r
+WaYnSCY9bKpXoZldI9tJq6wIoPd54w6GYCbMLMEZisn4mFHVeOgGlwPUaYzsm86T\r
+835AGm62l+26M50V4L6c3DTJ1D5O8sKsXSA9CakPypSGyGXOZAY8gNZX7Y+sof7Q\r
+YcbmXyBxKNCFpTrkQW0h\r
+=H93j\r
+-----END PGP SIGNATURE-----\r
+\r
+--===============5813283568621693483==--\r