Roundup Tracker - Issues

Message8225

Author rouilj
Recipients rouilj
Date 2024-12-10.21:06:38
Message-id <1733864798.22.0.205628768359.issue2551356@roundup.psfhosted.org>
In-reply-to
This is fixed if a static file is being served. or when the content served by
serve_file() is an actual file on disk.

If the content served by serve_file() is not an actual file (e.g. content in a database
or an S3 bucket), only the Last-Modified header is emitted.

This change also supports reporting 304 with the if-none-match header if it has just
a single etag value without spaces around it. This could be made more forgiving
and support a list of etags by using the etag functions from the rest.py module.

However currently the etag is not content-encoding aware. So it doesn't have the -gzip
suffix used by the rest interface.

But the initial issue is solved and redbot is happy.
History
Date User Action Args
2024-12-10 21:06:38rouiljsetmessageid: <1733864798.22.0.205628768359.issue2551356@roundup.psfhosted.org>
2024-12-10 21:06:38rouiljsetrecipients: + rouilj
2024-12-10 21:06:38rouiljlinkissue2551356 messages
2024-12-10 21:06:38rouiljcreate