code: def _get_buffered_response(self):
          
  
          response = self._get_response()
  
          if response.request.method == 'DELETE' and response.status_code == 204:
              return [{'status': 'record deleted'}], 1
  
          result = self._response.json().get('result', None)
  
          if result is None:
              raise MissingResult('The expected `result` key was missing in the response. Cannot continue')
  
          length = 0
  
          if isinstance(result, list):
              length = len(result)
          elif isinstance(result, dict):
              result = [result]
              length = 1
  
          return result, length
docs: Returns a buffered response
  
          :return: Buffered response