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
// From https://github.com/aws-samples/cloudfront-authorization-at-edge/blob/01c1bc843d478977005bde86f5834ce76c479eec/src/lambda-edge/shared/shared.ts#L216
12
+
// but rewritten in JavaScript (from TypeScript).
13
+
functionextractCookiesFromHeaders(headers){
14
+
// Cookies are present in the HTTP header "Cookie" that may be present multiple times.
15
+
// This utility function parses occurrences of that header and splits out all the cookies and their values
16
+
// A simple object is returned that allows easy access by cookie name: e.g. cookies["nonce"]
0 commit comments