Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 324379 - response.setContentType after response.getPrintWriter loses a semicolon
Summary: response.setContentType after response.getPrintWriter loses a semicolon
Status: RESOLVED FIXED
Alias: None
Product: Jetty
Classification: RT
Component: server (show other bugs)
Version: 8.0.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: 7.1.x   Edit
Assignee: Greg Wilkins CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-03 03:00 EDT by David Jencks CLA
Modified: 2010-09-03 03:29 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Jencks CLA 2010-09-03 03:00:07 EDT
response.setContentType("text/abcdef;charset=ISO-12345"); //works
response.setContentType("text/ghi;charse=ISO-678");       // works, entire header replaced

response.getPrintWriter();
response.setContentType("text/lmnop;charset=UTF-32"); // doesn't work, the result is

text/lmnopcharset=ISO-678 

(the semicolon is lost)
Comment 1 Greg Wilkins CLA 2010-09-03 03:29:24 EDT
r2246