docs: private void updateCacheControl() {
          // regular HTTP path, the Set-Cookie values are already put into BNFHdrs
          // but localhttp they might still be in the cookie cache
          boolean addSet1 = containsHeader(HttpHeaderKeys.HDR_SET_COOKIE) || isCookieCacheDirty(HttpHeaderKeys.HDR_SET_COOKIE);
          boolean addSet2 = containsHeader(HttpHeaderKeys.HDR_SET_COOKIE2) || isCookieCacheDirty(HttpHeaderKeys.HDR_SET_COOKIE2);
          if (!addSet1 && !addSet2) {
              // set-cookie(2) does not exist, nothing to do
              return;
          }
  
          // make sure the Expires header exists
          if (!containsHeader(HttpHeaderKeys.HDR_EXPIRES)) {
              // add the Expires header
              setSpecialHeader(HttpHeaderKeys.HDR_EXPIRES, LONG_AGO);
          }
  
          // check whether we need to update an existing Cache-Control header
          // or simply add one
          if (containsHeader(HttpHeaderKeys.HDR_CACHE_CONTROL)) {
              // need to update the existing value
              HeaderHandler handler = new HeaderHandler(this, ',', HttpHeaderKeys.HDR_CACHE_CONTROL);
              if (!handler.contains("no-cache")) {
                  boolean updated = false;
                  if (addSet1) {
                      updated = handler.add("no-cache", "set-cookie");
                  }
                  if (addSet2) {
                      updated = handler.add("no-cache", "set-cookie2") | updated;
                  }
                  if (updated) {
                      if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) {
                          Tr.event(tc, "Updating Cache-Control for Set-Cookie");
                      }
                      setSpecialHeader(HttpHeaderKeys.HDR_CACHE_CONTROL, handler.marshall());
                  }
              }
          } else {
              // not present, just write what we want
              if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) {
                  Tr.event(tc, "Adding Cache-Control due to Set-Cookie");
              }
              setSpecialHeader(HttpHeaderKeys.HDR_CACHE_CONTROL, NOCACHE_VALUE);
          }
      }