code: def handle_str_content(resp):
      return (
          BytesIO(resp.content)
          if PY3
          else StringIO(resp.content.decode("utf-8"))
      )
  
imports: import logging
  import requests
  import socket
  import sys
  from builtins import str
  from datetime import datetime
  import click
  import pkg_resources
  from six import PY3, BytesIO, StringIO, string_types
  from dtale.utils import make_list
label_desc: Use image node_id 10 for calling a global function with example usage: handle_str_content(resp) and returns: unknown