Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.0.1-rc2
-
None
-
None
Description
As far as I can tell (unfortunately, I don't know how to do better testing of this), after calling
response.getWriter();
I could still change the content type with
response.setContentType("foo/bar");
According to the spec (p. 51, line 20) this should be ignored.
I printed the hash code of the writer to make sure the compiler wasn't optimizing the getWriter away into a no op.