code: def _process_json_response(self, response):
          ''' Process a given response '''
  
          json_response = self._get_json_response(response)
          
          if self.response_callback is not None:
              json_response = self.response_callback(json_response)
              response._content = json.dumps(json_response)
  
          self.http_status_code = response.status_code
          self._check_error(response, json_response)
          self._check_warnings(json_response)
  
          return json_responsf _process_json_response(self, response):
          ''' Process a given response '''
  
          json_response = self._get_json_response(response)
          
          if self.response_callback is not None:
              json_response = self.response_callback(json_response)
              response._content = json.dumps(json_response)
  
          self.http_status_code = response.status_code
          self._check_error(response, json_response)
          self._check_warnings(json_response)
  
          return json_response
docs: Process a given response