[seam-commits] Seam SVN: r11619 - branches/community/Seam_2_2/src/main/org/jboss/seam/captcha.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Mon Nov 2 03:32:41 EST 2009
Author: shane.bryzak at jboss.com
Date: 2009-11-02 03:32:41 -0500 (Mon, 02 Nov 2009)
New Revision: 11619
Modified:
branches/community/Seam_2_2/src/main/org/jboss/seam/captcha/CaptchaImage.java
Log:
JBSEAM-2292
Modified: branches/community/Seam_2_2/src/main/org/jboss/seam/captcha/CaptchaImage.java
===================================================================
--- branches/community/Seam_2_2/src/main/org/jboss/seam/captcha/CaptchaImage.java 2009-10-30 10:14:37 UTC (rev 11618)
+++ branches/community/Seam_2_2/src/main/org/jboss/seam/captcha/CaptchaImage.java 2009-11-02 08:32:41 UTC (rev 11619)
@@ -60,9 +60,9 @@
ServletLifecycle.endRequest(request);
}
- response.setHeader("Cache-Control", "no-store");
+ response.setHeader("Cache-Control", "no-cache");
response.setHeader("Pragma", "no-cache");
- response.setDateHeader("Expires", 0);
+ response.setHeader("Expires", "0");
response.setContentType("image/jpeg");
response.getOutputStream().write( out.toByteArray() );
response.getOutputStream().flush();
More information about the seam-commits
mailing list