--- "Caldarale, Charles R" <[EMAIL PROTECTED]> wrote:
> > From: Woodchuck [mailto:[EMAIL PROTECTED]
> > Subject: RE: obscure tomcat 5.5 text file display bug? [Bugzilla
> candidate?]
> >
> > here is the relevant header info from Tomcat 4.1:
> >
> > HTTP/1.x 200 OK
> > Etag: W/"1706-1120587147968"
> > Last-Modified: Tue, 05 Jul 2005 18:12:27 GMT
> > Content-Type: text/plain
> > Content-Length: 1706
> > Date: Tue, 05 Jul 2005 20:59:46 GMT
> > Server: Apache Coyote/1.0
> > Proxy-Connection: Keep-Alive
> >
> > and here is the relevant header info from Tomcat 5.5:
> >
> > If-Modified-Since: Sun, 03 Jul 2005 18:42:58 GMT
> > If-None-Match: W/"1706-1120416178619"
> > HTTP/1.x 304 Not Modified
> > Server: Apache-Coyote/1.1
> > Date: Tue, 05 Jul 2005 19:57:35 GMT
>
> You've got apples and oranges here. The 1st response actually
> includes
> the text, whereas the 2nd just tells the browser to use what it has
> already cached. You need to try it again with the cache cleared
> prior
> to each request.
>
> - Chuck
>
alrighty, i've retested again. same results.
each time prior to requesting the .txt file i cleared the cache of the
browser just to be sure.
header chunk generated by Tomcat 4.1 for a .txt file:
HTTP/1.1 200
Server: Microsoft-IIS/5.0
Date: Wed, 06 Jul 2005 16:22:39 GMT
ETag: W/"1706-1120587147968"
Last-Modified: Tue, 05 Jul 2005 18:12:27 GMT
Content-Type: text/plain
Content-Length: 1706
header chunk generated by Tomcat 5.5 for a .txt file:
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
ETag: W/"1706-1120666790014"
Last-Modified: Wed, 06 Jul 2005 16:19:50 GMT
Content-Length: 1706
Date: Wed, 06 Jul 2005 16:20:26 GMT
as the above shows, Tomcat 5.5 did not product the "Content-Type:
text/plain" when it served back the .txt file to the browser.
i also checked the Tomcat 5.5's conf/web.xml file and the mime mapping
for txt files is there.
<mime-mapping>
<extension>txt</extension>
<mime-type>text/plain</mime-type>
</mime-mapping>
i will enter this to Bugzilla then. i'm guessing this is not likely to
be a Tomcat 5.5 configuration issue although i'm not 100% sure.
thanks to everyone who helped on this!
woodchuck
____________________________________________________
Sell on Yahoo! Auctions no fees. Bid on great items.
http://auctions.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]