code: def requests_response_to_dict_response(
      requests_response: RequestsResponse,
  ) -> dict:
      requests_response.headers.pop("content-encoding", "")
      requests_response.headers.pop("content-length", "")
      requests_response.headers.pop("transfer-encoding", "")
      return {
          "status": requests_response.status_code,
          "headers": dict(requests_response.headers),
          "body": requests_response.json(),
      }
  
file_path: nboost/nboost/translators.py
imports: from urllib.parse import ParseResult, urlparse, parse_qsl, urlencode
  import json
  from requests import Response, request
  from flask import Response
  from werkzeug.local import LocalProxy
label_desc: Use image node_id 4 for calling a global function with example usage: requests_response_to_dict_response(requests_response) and returns: dict