Skip to content

Commit 73dce34

Browse files
authored
chore: add sample timestamp for cookie RFC
1 parent fe4ea7d commit 73dce34

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

aws_lambda_powertools/shared/cookies.py

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ class SameSite(Enum):
2121

2222

2323
def _format_date(timestamp: datetime) -> str:
24+
# Specification example: Wed, 21 Oct 2015 07:28:00 GMT
2425
return timestamp.strftime("%a, %d %b %Y %H:%M:%S GMT")
2526

2627

0 commit comments

Comments
 (0)