docs: @Override
      public void addHeader(String name, String value) {
  
          if (isSuspended()) {
              return;
          }
  
          if (CmsRequestUtil.HEADER_CONTENT_TYPE.equalsIgnoreCase(name)) {
              setContentType(value);
              return;
          }
  
          if (m_cachingRequired && !m_includeMode) {
              addHeaderList(m_bufferHeaders, name, value);
              if (LOG.isDebugEnabled()) {
                  LOG.debug(
                      Messages.get().getBundle().key(
                          Messages.LOG_FLEXRESPONSE_ADDING_HEADER_TO_ELEMENT_BUFFER_2,
                          name,
                          value));
              }
          }
  
          if (m_writeOnlyToBuffer) {
              addHeaderList(m_headers, name, value);
              if (LOG.isDebugEnabled()) {
                  LOG.debug(
                      Messages.get().getBundle().key(Messages.LOG_FLEXRESPONSE_ADDING_HEADER_TO_HEADERS_2, name, value));
              }
          } else {
              if (LOG.isDebugEnabled()) {
                  LOG.debug(
                      Messages.get().getBundle().key(
                          Messages.LOG_FLEXRESPONSE_ADDING_HEADER_TO_PARENT_RESPONSE_2,
                          name,
                          value));
              }
              m_res.addHeader(name, value);
          }
      }