code: public void reset() {
          checkCommitted();
  
          // reset all headers
          headers = new HashMap<>();
          // reset all cookies
          cookies = new HashMap<>();
          // reset all locales
          locals = new HashMap<>();
          // set status to 0 or INT MAX
          status = 0;
  
          try {
              httpServletResponse.reset();
          } catch (Exception e) {
              throw new PippoRuntimeException(e);
          }
      }
docs: This method resets the response.
  Clears any data that exists in the buffer as well as the status code, cookies, locals and headers.
  In the end, {@link HttpServletResponse#reset()} is called.