You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, responses are composed independently from the request, making it problematic to build features like CSRF or sessions. We should be using request.response to build our responses, but some refactoring is needed, as the response builder doesn't know about request.
The text was updated successfully, but these errors were encountered:
The Finatra.info Documentation for Response links to the old Response.scala, which no longer exists as a consequence of this change. The dead link is at the end of the section in the sentence "See the Response class for more details."
I'm sorry if this isn't the best place to report that problem.
Previously, responses were generated independently of requests; This made it difficult to modify
the response out-of-band (like inside the framework on the users behalf, or in a filter). Now, you
can use `request.response` to access the response from any context in the framework or filter. See
`RequestResponseSpec` for details.
This change also renames Response to ResponseBuilder, which better describes the purpose of
this class.
Right now, responses are composed independently from the request, making it problematic to build features like CSRF or sessions. We should be using
request.response
to build our responses, but some refactoring is needed, as the response builder doesn't know aboutrequest
.The text was updated successfully, but these errors were encountered: