From bd03736495bc010d063d5e3607063e0b5038dacd Mon Sep 17 00:00:00 2001 From: Ruediger Pluem Date: Sun, 27 May 2007 11:26:04 +0000 Subject: [PATCH] * Also add a possible ETag header to r->headers_out. We need to have it there for our later call to ap_meets_conditions a few lines above. Having it put in the merge table will fail as merge and r->err_headers_out get merged AFTER our call to ap_meets_conditions. Besides of this having multiple ETag headers (or a merged version of them) does not seem to make sense. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@541974 13f79535-47bb-0310-9956-ffa450edef68 --- server/util_script.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/util_script.c b/server/util_script.c index 62af577e08..3822b9b894 100644 --- a/server/util_script.c +++ b/server/util_script.c @@ -580,6 +580,9 @@ AP_DECLARE(int) ap_scan_script_header_err_core(request_rec *r, char *buffer, else if (!strcasecmp(w, "Transfer-Encoding")) { apr_table_set(r->headers_out, w, l); } + else if (!strcasecmp(w, "ETag")) { + apr_table_set(r->headers_out, w, l); + } /* * If the script gave us a Last-Modified header, we can't just * pass it on blindly because of restrictions on future values. -- 2.50.1