Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 368BFD751 for ; Tue, 18 Dec 2012 17:48:57 +0000 (UTC) Received: (qmail 31604 invoked by uid 500); 18 Dec 2012 17:48:56 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 30612 invoked by uid 500); 18 Dec 2012 17:48:44 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 30562 invoked by uid 99); 18 Dec 2012 17:48:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Dec 2012 17:48:41 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jens@couchbase.com designates 206.225.164.31 as permitted sender) Received: from [206.225.164.31] (HELO EXHUB020-4.exch020.serverdata.net) (206.225.164.31) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Dec 2012 17:48:35 +0000 Received: from EXVMBX020-1.exch020.serverdata.net ([169.254.4.73]) by EXHUB020-4.exch020.serverdata.net ([206.225.164.31]) with mapi; Tue, 18 Dec 2012 09:48:13 -0800 From: Jens Alfke To: "user@couchdb.apache.org" Date: Tue, 18 Dec 2012 09:48:13 -0800 Subject: Re: Epilogue area in MIME multipart_related docs is not ignored Thread-Topic: Epilogue area in MIME multipart_related docs is not ignored Thread-Index: Ac3dR9nn+fz/TjMYSuy3ZNSI6+N+Hw== Message-ID: <8FF55F46-87DF-4ABE-99F8-A283A000FC99@couchbase.com> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org On Dec 16, 2012, at 1:24 AM, Peter Keller wrote: > When PUTting a document with attachments in MIME multipart/related format= , CouchDB (1.2.0 on Mac OS X) throws a badmatch error in doc_from_multi_par= t_stream() if any bytes are following the final boundary. Confirmed; I ran into this as well, while implementing TouchDB, but was too= lazy to file a bug report. Don=92t repeat my mistake! :) Judging by activity on some other bugs I did report, the multipart code is = being cleaned up for 1.3, so maybe they can get to this too. =97Jens=