tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 32499] New: - Headers: charset added to image Content-Type
Date Thu, 02 Dec 2004 19:04:35 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32499>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32499

           Summary: Headers: charset added to image Content-Type
           Product: Tomcat 5
           Version: Unknown
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: jeff_murdoch@merck.com


When constructing a response within a servlet, I set the Content-Type to:

   Content-Type: image/jpeg

and that it how I transmit it.  When received by the browser, the header has
been altered to:

   Content-Type: image/jpeg;charset=UTF-8

which to my mind (and apparently the browser's mind) doesn't make any sense.
Mozilla 1.7.3 reports:

The image 
"http://server:port/dir/MyServlet?param=x&option=y"
cannot be displayed, because it contains errors.

When the servlet returning the image is accessed directly from the original
server, not passed on through my servlet, it has no charset header and works well.

Any ideas?  Thanks!!

Jeff

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message