code: def stage_http_response2(self, payload):
          
  
          # required because http code uses sending all None to reset
          # parameters. We ignore that
          if not self._http_response_version and not payload:
              return
          if self.enabled and self.http_detail_level is not None and \
                  self.httplogger.isEnabledFor(logging.DEBUG):
              if self._http_response_headers:
                  header_str = \
                      ' '.join('{0}:{1!r}'.format(k, v)
                               for k, v in self._http_response_headers.items())
              else:
                  header_str = ''
  
              if self.http_detail_level == 'summary':
                  upayload = ""
              elif self.http_maxlen and (len(payload) > self.http_maxlen):
                  upayload = (_ensure_unicode(payload[:self.http_maxlen]) +
                              '...')
              else:
                  upayload = _ensure_unicode(payload)
  
              self.httplogger.debug('Response:%s %s:%s %s %s\n    %s',
                                    self._http_response_conn_id,
                                    self._http_response_status,
                                    self._http_response_reason,
                                    self._http_response_version,
                                    header_str, upayload)
docs: Log complete http response, including response1 and payload