From 1f8d0c8aa453dd517e4775bcb6595b0bcfe19db8 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Tue, 14 Oct 2025 11:37:05 +0200 Subject: [PATCH] finish_http_response(): Update a comment to match the code --- cgi.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cgi.c b/cgi.c index 91ea06e9..fb663b85 100644 --- a/cgi.c +++ b/cgi.c @@ -1747,9 +1747,10 @@ struct http_response *finish_http_response(struct client_state *csp, struct http * is older than Privoxy's error message, the server would send status code * 304 and the browser would display the outdated error message again and again. * - * For documents delivered with status code 403, 404 and 503 we set "Last-Modified" - * to Tim Berners-Lee's birthday, which predates the age of any page on the web - * and can be safely used to "revalidate" without getting a status code 304. + * For documents delivered with status code 403, 404, 502, 503 and + * 504 we set "Last-Modified" to Tim Berners-Lee's birthday, which + * predates the age of any page on the web and can be safely used to + * "revalidate" without getting a status code 304. * * There is no need to let the useless If-Modified-Since header reach the * server, it is therefore stripped by client_if_modified_since in parsers.c. -- 2.50.1