[seam-commits] Seam SVN: r12605 - branches/enterprise/JBPAPP_5_0/src/main/org/jboss/seam/captcha.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Fri Apr 23 07:42:29 EDT 2010
Author: manaRH
Date: 2010-04-23 07:42:29 -0400 (Fri, 23 Apr 2010)
New Revision: 12605
Modified:
branches/enterprise/JBPAPP_5_0/src/main/org/jboss/seam/captcha/CaptchaImage.java
Log:
JBPAPP-4010 - fixed setting expiration header
Modified: branches/enterprise/JBPAPP_5_0/src/main/org/jboss/seam/captcha/CaptchaImage.java
===================================================================
--- branches/enterprise/JBPAPP_5_0/src/main/org/jboss/seam/captcha/CaptchaImage.java 2010-04-23 11:36:51 UTC (rev 12604)
+++ branches/enterprise/JBPAPP_5_0/src/main/org/jboss/seam/captcha/CaptchaImage.java 2010-04-23 11:42:29 UTC (rev 12605)
@@ -62,7 +62,7 @@
response.setHeader("Cache-Control", "no-store");
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