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
I was looking at Response.set_cookie, and noticed that max_age only accepts int (seconds). I wish we could use datetime.timedelta at least as an alternative.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I was looking at
Response.set_cookie, and noticed thatmax_ageonly acceptsint(seconds). I wish we could usedatetime.timedeltaat least as an alternative.Beta Was this translation helpful? Give feedback.
All reactions