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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to