You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Gr...@pfizer.com on 2003/12/16 16:39:55 UTC

RE: Intro/question possible buglet with Content-Type and Charsets .

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


Re: Intro/question possible buglet with Content-Type and Charsets .

Posted by Tim Funk <fu...@joedog.org>.
Instructions added to http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24970

-Tim

Tim Funk wrote:

> Yeah, nagoya.apache.org seems down. Hopefully it will be back soon. The 
> bug has good detail of what and how to fix.
> 
> -Tim
> 
> Greg.Cope@pfizer.com wrote:
> 
>> 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.



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: Intro/question possible buglet with Content-Type and Charsets .

Posted by Tim Funk <fu...@joedog.org>.
Yeah, nagoya.apache.org seems down. Hopefully it will be back soon. The bug 
has good detail of what and how to fix.

-Tim

Greg.Cope@pfizer.com wrote:

> 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