wxiaoguang
5b9557aef5
Refactor cookie ( #24107 )
...
Close #24062
At the beginning, I just wanted to fix the warning mentioned by #24062
But, the cookie code really doesn't look good to me, so clean up them.
Complete the TODO on `SetCookie`:
> TODO: Copied from gitea.com/macaron/macaron and should be improved
after macaron removed.
2023-04-13 15:45:33 -04:00
..
2023-04-12 12:16:47 -04:00
2023-04-12 18:16:45 +08:00
2023-04-12 18:16:45 +08:00
2023-02-22 14:21:46 -05:00
2023-04-07 21:25:49 +08:00
2023-03-08 11:57:05 -06:00
2023-03-24 18:35:38 +08:00
2023-04-13 15:45:33 -04:00
2023-03-05 22:59:05 +01:00
2023-04-12 18:16:45 +08:00
2023-04-07 14:42:43 +08:00
2023-02-15 21:37:34 +08:00
2023-03-14 16:09:01 -04:00
2023-03-08 15:40:04 -05:00
2023-03-29 14:32:26 +08:00
2023-03-28 22:23:23 -04:00
2023-04-10 16:44:02 +08:00
2023-03-28 11:10:24 -04:00
2023-04-03 16:02:57 +08:00
2023-02-18 21:17:39 +02:00
2023-04-12 18:16:45 +08:00
2023-04-02 17:53:37 +08:00
2023-03-29 14:32:26 +08:00
2023-02-11 08:39:50 +08:00
2023-04-12 18:16:45 +08:00
2023-02-28 17:55:43 -05:00
2023-04-12 18:16:45 +08:00
2023-02-22 14:21:46 -05:00
2023-04-07 18:11:24 +02:00
2023-04-13 15:45:33 -04:00
2023-03-28 11:10:24 -04:00
2023-04-04 21:35:31 +08:00
2023-04-12 18:16:45 +08:00
2023-04-12 18:16:45 +08:00
2023-04-08 21:15:22 +08:00
2023-04-11 01:01:20 +02:00
2023-04-12 18:16:45 +08:00
2023-03-07 22:40:41 -05:00
2023-04-12 18:16:45 +08:00
2023-04-13 15:45:33 -04:00