Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@www.apache.org Received: (qmail 91330 invoked from network); 16 Dec 2003 15:40:10 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 16 Dec 2003 15:40:10 -0000 Received: (qmail 16640 invoked by uid 500); 16 Dec 2003 15:39:58 -0000 Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 16594 invoked by uid 500); 16 Dec 2003 15:39:57 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 16581 invoked from network); 16 Dec 2003 15:39:57 -0000 Received: from unknown (HELO mail22-ash-R.bigfish.com) (206.16.192.253) by daedalus.apache.org with SMTP; 16 Dec 2003 15:39:57 -0000 Received: from mail22-ash.bigfish.com (localhost.localdomain [127.0.0.1]) by mail22-ash-R.bigfish.com (Postfix) with ESMTP id D4BB3180397 for ; Tue, 16 Dec 2003 15:39:59 +0000 (UCT) Received: by mail22-ash (MessageSwitch) id 1071589199854899_28405; Tue, 16 Dec 2003 15:39:59 +0000 (UCT) Received: from mailrelay7.pfizer.com (ns11.pfizer.com [192.77.198.11]) by mail22-ash.bigfish.com (Postfix) with ESMTP id C458D17F73C for ; Tue, 16 Dec 2003 15:39:59 +0000 (UCT) Received: from mercury.sandwich.pfizer.com (localhost [127.0.0.1]) by mailrelay7.pfizer.com (Switch-3.0.5/Switch-3.0.0) with ESMTP id hBGFdvvw023598 for ; Tue, 16 Dec 2003 10:39:57 -0500 (EST) Received: from sanexcncr01.sandwich.pfizer.com (sanexcncr01.sandwich.pfizer.com [168.224.121.47]) by mercury.sandwich.pfizer.com (8.8.8p2+Sun/8.8.8) with ESMTP id PAA13500 for ; Tue, 16 Dec 2003 15:39:56 GMT From: Greg.Cope@pfizer.com Received: by sanexcncr01.sandwich.pfizer.com with Internet Mail Service (5.5.2655.55) id ; Tue, 16 Dec 2003 15:39:56 -0000 Message-ID: To: tomcat-dev@jakarta.apache.org Subject: RE: Intro/question possible buglet with Content-Type and Charsets . Date: Tue, 16 Dec 2003 15:39:55 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2655.55) Content-Type: text/plain; charset="ISO-8859-1" X-BigFish: cv 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 Thanks Tim, Having a little trouble getting anything from bugzilla, nagoya.apache.org seems to be having a little trouble! Looking in the archives for this id, I see that someone has a 4.1.29 patch and a complied class, but cannot see either email address or content via the archive. Ho hum.... Thanks for the pointer. Greg > -----Original Message----- > From: Tim Funk [mailto:funkman@joedog.org] > Sent: 16 December 2003 12:31 > To: Tomcat Developers List > Subject: Re: Intro/question possible buglet with Content-Type and > Charsets. > > > http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24970 > > Greg.Cope@pfizer.com wrote: > > Hi All, > > > > Quick intro, and then a question; > > > > We use tomcat to host java web applications at our > location. My client > > requires us to follow very strict rules for deploying > software, that means > > it can be a documentation intensive process (evidence > gathering/ IQP's etc > > ....). So we rarely upgrade as it is quite allot of > work..... Luckily > > tomcat is excellent and rarely needs upgrading or patching. > > > > Now the question; > > > > Tomcat 4.1.29 seems to insist on added charset to the > content type, even if > > a Content-Type has been set using response.setContentType or similar > > (without a charset). Tomcat 5 seems to do something > similar judging from > > > http://www.mail-archive.com/tomcat-dev@jakarta.apache.org/msg4 > 9015.html but > > I think it fails to check if the Content type is a text one > (HTML) and adds > > it for any content type, which would appear not to be right IMHO. > > > > Without wishing to appear rude :-) I need to change this > behaviour and > > remove the insertion of the charset for non text based > Content-Types eg: > > application/vnd.ms-excel > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org