code: def __init__(self, resp):
      self.urllib3_response = resp
      self.status = resp.status
      self.reason = resp.reason
      self.data = resp.data
  
imports: from __future__ import absolute_import
  import io
  import json
  import logging
  import re
  import ssl
  import certifi
  import six
  from six.moves.urllib.parse import urlencode
label_desc: Use image node_id 1 to create a new RESTResponse object from inherited base classes: io with example: obj = RESTResponse(resp)