docs: protected void responseBodyConsumed() {
  
          // make sure this is the initial invocation of the notification,
          // ignore subsequent ones.
          responseStream = null;
          if (responseConnection != null) {
              responseConnection.setLastResponseInputStream(null);
  
              // At this point, no response data should be available.
              // If there is data available, regard the connection as being
              // unreliable and close it.
              
              if (shouldCloseConnection(responseConnection)) {
                  responseConnection.close();
              } else {
                  try {
                      if(responseConnection.isResponseAvailable()) {
                          boolean logExtraInput =
                              getParams().isParameterTrue(HttpMethodParams.WARN_EXTRA_INPUT);
  
                          if(logExtraInput) {
                              LOG.warn("Extra response data detected - closing connection");
                          } 
                          responseConnection.close();
                      }
                  }
                  catch (IOException e) {
                      LOG.warn(e.getMessage());
                      responseConnection.close();
                  }
              }
          }
          this.connectionCloseForced = false;
          ensureConnectionRelease();
      }