Please sign in to comment.
Change header defs in LiftResponse classes to vals.
We do this because LiftResponses are typically not serialized to InMemoryResponses until after the S context has been uninitialized. Since all the default headers implementations use S.getHeaders, they were losing all headers, as S.getHeaders always returns Nil when the S context is uninitialized. Amongst other things, this led e.g. XmlResponse to never include a proper Content-Type header in its response.
- Loading branch information...
Showing with 5 additions and 5 deletions.