Bug 115093 - Content-Type header not added by dispatch(...) method of StreamImage
Summary: Content-Type header not added by dispatch(...) method of StreamImage
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise CMS
Classification: Retired
Component: other
Version: 6.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: ccm-bugs-list
QA Contact: Jon Orris
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-02-06 15:51 UTC by durnez
Modified: 2007-04-18 17:02 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-09-05 17:44:24 UTC
Embargoed:


Attachments (Terms of Use)

Description durnez 2004-02-06 15:51:50 UTC
Description of problem:
in class com.arsdigita.cms.dispatcher.StreamImage

dispatch(HttpServletRequest,HttpServletResponse,RequestContext) method
does not set content-header of HTTP response.

in line 164, one should add following method :

response.setHeader("Content-Type", mimeType);


Version-Release number of selected component (if applicable):
CMS 6.0

How reproducible:
always

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:
code added for carrefour.fr project, not pushed back before into product.

Comment 1 Jon Orris 2006-09-05 17:44:24 UTC
Closing old tickets





Note You need to log in before you can comment on or make changes to this bug.