From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/73033 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: Parsing Content-Type with repeated attributes Date: Tue, 12 Oct 2010 23:33:02 +0200 Organization: Programmerer Ingebrigtsen Message-ID: References: <87eibv453u.fsf@engster.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1286919218 29980 80.91.229.12 (12 Oct 2010 21:33:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 12 Oct 2010 21:33:38 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M21405@lists.math.uh.edu Tue Oct 12 23:33:37 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P5mTS-0007Ob-GO for ding-account@gmane.org; Tue, 12 Oct 2010 23:33:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1P5mTL-0004dv-Hy; Tue, 12 Oct 2010 16:33:23 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1P5mTK-0004dj-9O for ding@lists.math.uh.edu; Tue, 12 Oct 2010 16:33:22 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1P5mTF-0002rx-9Z for ding@lists.math.uh.edu; Tue, 12 Oct 2010 16:33:22 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1P5mTE-0002pI-00 for ; Tue, 12 Oct 2010 23:33:16 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P5mTA-0007GA-Si for ding@gnus.org; Tue, 12 Oct 2010 23:33:12 +0200 Original-Received: from cm-84.215.34.171.getinternet.no ([84.215.34.171]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 Oct 2010 23:33:12 +0200 Original-Received: from larsi by cm-84.215.34.171.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 Oct 2010 23:33:12 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 19 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.34.171.getinternet.no Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEXecUHqgEbYYTtWIRQY BQT1sGq8TS8sY0EaAAACVUlEQVQ4jVWUTW/bMAyGKQ3NWczgnl0V8XmtPJ8HSNjZGsCcHavh//8J IylnXXUIHD5++fFKMuxxnJjTxBOceJOnOfMe4wQCfIyMT0QDBfn5SBwVcBwxQKwap5WITvImxAgL RwzBy7MAWtoNEb2Po4DdCRD1IKqWokP9B8A8RlugipaY5fUACnaIbPXuxNKVZBklDnGS5iS+kS7m BQGkDICXKRRYnK4cX1xwSiQVx3166oAgjho2oJV3ohqM/DEQZDSb/FIJ9/CyDgKwK0Qa4nSL7rRs KC2fRRAMSA9+mjg2fqkT0RgeCkDwcVo4vePERL202meKtqS0T4xiMIJ1KzUE+5TmtLcL3WkFBeJJ FNfwnFJe2jLAhdaeSNvVleec0vsT07PDaqbA6EcpPpe0sT/daKsDoZkV/egA5pKfqm93GV0zOa3h 0Ef/UfL9ui7qSRUimwVOpOf4WvLPOmyfAG3fEE+l5MPfPgUAGTi3Ut4q0VFDtgm6+jwV0VzkeRUL 4aEg8bcoka6gW9hBPY9+Psh6eAiWVbbqoxixpkyiQE+YKUr5Vb8oMJwOUH4gksZ7cXxuR7xk7CkO 8JoeivKmCR4gtE/w20ocA35Pug7i+o47zSTRJeWDvA0YogH8JvH2UCS5Ono/hoo8p8RHOLvDEbHm WnLi1ovnTU5Qn2OoLEDCvcTt33GjOlmveYP2GLzPUdmyLHL75z5Fv51Uu+EsoKkjdnTkA/AJlpNI DPj/gI2+NKsevoCi53pRD+WggYLVMsmMCufDw/gKdDWQzcUsJ9I5kFz8F+dc2HhJkABLAAAAAElF TkSuQmCC Mail-Copies-To: never X-Now-Playing: David Bowie's _Low_: "What In The World" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:GTEoWv1oJl2yXRRzx2sNVf/k5O4= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:73033 Archived-At: David Engster writes: > OK, I've read (well, rather skimmed) the RFC, and it defines a > continuation of MIME parameters through the asterisk, followed by a > number: > > URL*0="ftp://"; > URL*1="cs.utk.edu/pub/moore/bulk-mailer/bulk-mailer.tar" > > Otherwise, I don't see that you should concatenate parameter > values. Actually, I couldn't find any specification of what should be > done when parameters are defined several times. It seems wrong to concatenate them, anyway. I've now made the code ignore any repetitions. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen