Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 75075 invoked from network); 20 Oct 2003 15:02:00 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 20 Oct 2003 15:02:00 -0000 Received: (qmail 42622 invoked by uid 500); 20 Oct 2003 15:01:52 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 42372 invoked by uid 500); 20 Oct 2003 15:01:51 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 42357 invoked from network); 20 Oct 2003 15:01:51 -0000 Received: from unknown (HELO mhub-w3.tc.umn.edu) (160.94.160.47) by daedalus.apache.org with SMTP; 20 Oct 2003 15:01:51 -0000 Received: from [24.245.76.43] by mhub-w3.tc.umn.edu with ESMTP for dev@cocoon.apache.org; Mon, 20 Oct 2003 10:01:52 -0500 Message-Id: <3F93F92D.8010108@umn.edu> Date: Mon, 20 Oct 2003 10:03:09 -0500 From: Tony Collen User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: [RT] Changing the mime type setting of a reader References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Andrew Savory wrote: > On Mon, 20 Oct 2003, Carsten Ziegeler wrote: > > >>Ok, rethinking it - I think you're right. So what about swapping the second >>and third item: >> >> >>>- MIME type declared on the reader instance >>>- MIME type declared for the reader component >>>- Ask the Reader for a MIME type. A *.doc reader could peek >>>into the file >>> and return either text/plain or application/vnd.msword. >>>- MIME type declared in WEB-INF/web.xml or by the server. +1 for the swapped order, the user should *always* have control over something that might happen automagically. Tony > > > Works for me! > > Andrew. >