code: def http_log_req(method, uri, args, kwargs):
      
      if not pyrax.get_http_debug():
          return
      string_parts = ["curl -i -X %s" % method]
      for element in args:
          string_parts.append("%s" % element)
      for element in kwargs["headers"]:
          header = "-H '%s: %s'" % (element, kwargs["headers"][element])
          string_parts.append(header)
      string_parts.append(uri)
      log = logging.getLogger("pyrax")
      log.debug("\nREQ: %s\n" % " ".join(string_parts))
      if "body" in kwargs:
          pyrax._logger.debug("REQ BODY: %s\n" % (kwargs["body"]))
      if "data" in kwargs:
          pyrax._logger.debug("REQ DATA: %s\n" % (kwargs["data"]))
docs: When pyrax.get_http_debug() is True, outputs the equivalent `curl`
      command for the API request being made.