code: 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();
      }
docs: A response has been consumed.
  
  <p>The default behavior for this class is to check to see if the connection
  should be closed, and close if need be, and to ensure that the connection
  is returned to the connection manager - if and only if we are not still
  inside the execute call.</p>