APIGateway won't naturally handle a ServerResponse's Headers object, so this fix translates those headers to a simple object. Headers, such as Set-Cookie
will flow through APIGateway back to the client now. Yay!
APIGateway won't naturally handle a ServerResponse's Headers object, so this fix translates those headers to a simple object. Headers, such as Set-Cookie
will flow through APIGateway back to the client now. Yay!