max-age header is set in milliseconds rather than seconds
---------------------------------------------------------

                 Key: WICKET-4051
                 URL: https://issues.apache.org/jira/browse/WICKET-4051
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.5.0
            Reporter: Emond Papegaaij
         Attachments: headerfix.diff

According to http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html the max-age 
in Cache-Control should be set in seconds, but WebResponse.enableCaching sets 
it in milliseconds. The attached patch fixes this.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to