From 814bb3b94895d9aa4528323b1bb173d3c8711e97 Mon Sep 17 00:00:00 2001 From: SergBobrovsky Date: Sun, 3 Jan 2021 20:18:31 +0300 Subject: [PATCH] remove useless `lambda` wraper --- bottle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bottle.py b/bottle.py index 23fff762..7f8e03b9 100755 --- a/bottle.py +++ b/bottle.py @@ -1804,7 +1804,7 @@ def headerlist(self): expires = HeaderProperty( 'Expires', reader=lambda x: datetime.utcfromtimestamp(parse_date(x)), - writer=lambda x: http_date(x)) + writer=http_date) @property def charset(self, default='UTF-8'):