It's changed in LiftRules.defaultHeaders
I'm looking into where the expires header is inserted, but I'm suspecting it's Jetty.
With the defaultHeaders set to return Nil, Lift sets the following headers in the servlet response:
setting header Content-Type to application/xhtml+xml; charset=utf-8
setting header Content-Length to 2981
setting header X-Lift-Version to 2.2-SNAPSHOT
I think it's Jetty that's inserting the "0" expires header.
LiftRules.overwrittenReponseHeaders -- indicates that setHeader (rather than addHeader) should be used for headers that should only have 1 entry ("Expires by default")
LiftRules.supplimentalHeaders -- add headers to the response. By default, inserts the X-Lift-Version header
thx
- Alex
--
You received this message because you are subscribed to the Google Groups "Lift" group.
To post to this group, send email to lif...@googlegroups.com.
To unsubscribe from this group, send email to liftweb+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.