[Privoxy-commits] [privoxy] 03/05: finish_http_response(): Update a comment to match the code

User Git git at git.privoxy.org
Thu Nov 27 14:07:42 CET 2025


This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository privoxy.

commit 1f8d0c8aa453dd517e4775bcb6595b0bcfe19db8
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Tue Oct 14 11:37:05 2025 +0200

    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.

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Privoxy-commits mailing list