docs: def extract_response(raw_response):
      """Extract requests response object.
  
      only extract those status_code in [200, 300).
  
      :param raw_response: a requests.Resposne object.
      :return: content of response.
      """
      data = urlread(raw_response)
  
      if is_success_response(raw_response):
          return data
      elif is_failure_response(raw_response):
          raise RemoteExecuteError(data)
      elif is_invalid_response(raw_response):
          raise InvalidResponseError(data)
      else:
          raise UnknownStatusError(data)