eyre: append set-cookie header rather than clobbering

This commit is contained in:
isaac 2023-11-20 12:32:36 -08:00
parent 53a876e977
commit b2d3114ebb

View File

@ -2925,9 +2925,9 @@
|= =session
session(expiry-time (add now session-timeout))
=- response-header.http-event(headers -)
%^ set-header:http 'set-cookie'
(session-cookie-string session-id &)
headers.response-header.http-event
%+ snoc
headers.response-header.http-event
['set-cookie' (session-cookie-string session-id &)]
::
=* connection u.connection-state
::