commit | 0bcbe060813deb45a3aa8cc0b5a4c1a1eaf19221 | [log] [tgz] |
---|---|---|
author | Miguel Fernandez <mifern@google.com> | Thu Mar 27 11:28:23 2014 -0700 |
committer | Miguel Fernandez <mifern@google.com> | Thu Mar 27 11:28:23 2014 -0700 |
tree | b018a71f18bb73b4f22e721f951d2fbc926730e2 | |
parent | 9f1c3ac9f045ec4ecddba290510a3b5d9c30b0a9 [diff] |
Fixing error in createHtmlResponseWriter The call to response.setContentType needs to happen while the Response is in the READY state. The call Response.getOutputStream take is out of the READY state.