I think I understand Liberator more now. It's great for data display, but it's a hassle to try fitting everything inside its resource definition
@somedude314 which middleware do you use for session management? With ring.middleware.session
you’d need to nil the session in the ring response. You’d need to implement :handle-moved-temporarily
for this and use ring-response
to gain control over the ring response (fn [ctx] (ring-response {:session nill} "Document has moved"))
. I did not test this but ring-response is the key here. I allows to combine / merge the given response over what liberate creates for the value representation.
Got it, thanks
you’re welcome