2023-08-09から1日間の記事一覧
実際のところ from http.cookies import SimpleCookie cookie = SimpleCookie() cookie["user"] = "admin" # user の Morsel オブジェクトを取得 morsel = cookie["user"] # 有効期限を設定 morsel["expires"] = "Thu, 01 Jan 2030 00:00:00 GMT" 参考もと h…
実際のところ from http.cookies import SimpleCookie cookie = SimpleCookie() cookie["user"] = "admin" # user の Morsel オブジェクトを取得 morsel = cookie["user"] # 有効期限を設定 morsel["expires"] = "Thu, 01 Jan 2030 00:00:00 GMT" 参考もと h…