3bacf54b6a23bc56f728c2e670c9b2cca96222dd
max
  Wed Sep 16 04:56:02 2026 -0700
htmshell: drop the two CSP response-header helpers that no longer have callers, refs #38353

cspWriteResponseHeader() was their only user and it queues the policy through
cgiAddHttpHeader() now, so generateCspResponseHeader() and getCspMetaResponseHeader() build a
header line nothing sends.  Neither had another caller at any point.  The meta-tag side is
untouched.

diff --git src/inc/htmshell.h src/inc/htmshell.h
index 09acee0c176..7522504e56e 100644
--- src/inc/htmshell.h
+++ src/inc/htmshell.h
@@ -95,34 +95,30 @@
 
 char *getNonce();
 /* make nonce one-use-per-page */
 
 char *getCspPolicyString();
 /* Return the Content Security Policy, the value part of the header, freeMem when done.
  * Carries the same nonce as the meta tag, since getNonce() is one-per-process, so a page
  * may safely have both. */
 
 char *getCspMetaHeader();
 /* return meta CSP header string */
 
 void generateCspMetaHeader(FILE *f);
 /* Generate Meta CSP Header */
 
-void generateCspResponseHeader(FILE *f);
-/* Generate the CSP as an http response header.  Must be called before the
- * blank line that ends the http header block. */
-
 void htmlStart(char *title);
 /* Write the start of a cgi-generated html file */
 
 void htmStart(FILE *f, char *title);
 /* Write the start of a stand alone .html file. */
 
 void printBodyTag(FILE *f);
 // print starting BODY tag, including any appropriate attributes (class, background and bgcolor). 
 
 void htmStartWithHead(FILE *f, char *head, char *title);
 /* Write the start of a stand alone .html file, plus head info */
 
 void htmStartDirDepth(FILE *f, char *title, int dirDepth);
 /* Write the start of a stand alone .html file.  dirDepth is the number of levels
  * beneath apache root that caller's HTML will appear to the web client.