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-03-08 11:57:05 -06:00
2023-04-13 15:45:33 -04:00
2023-03-28 22:23:23 -04:00
2023-02-18 21:17:39 +02:00
2023-02-11 08:39:50 +08:00
2023-04-13 15:45:33 -04:00
2023-04-04 21:35:31 +08:00
2023-04-13 15:45:33 -04:00