mirror of https://github.com/apache/activemq.git
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1511967 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c7aad77a16
commit
42b4e0c810
|
@ -249,7 +249,9 @@ public class MessageServlet extends MessageServletSupport {
|
|||
protected void writeResponse(HttpServletRequest request, HttpServletResponse response, Message message) throws IOException, JMSException {
|
||||
int messages = 0;
|
||||
try {
|
||||
|
||||
response.setHeader("Cache-Control", "no-cache, no-store, must-revalidate"); // HTTP 1.1
|
||||
response.setHeader("Pragma", "no-cache"); // HTTP 1.0
|
||||
response.setDateHeader("Expires", 0);
|
||||
// write a responds
|
||||
PrintWriter writer = response.getWriter();
|
||||
|
||||
|
|
Loading…
Reference in New Issue