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();
Show replies by date