docs: def get_curl_command_line(self, method, url, **kwargs):
          """Get request as cURL command line for debugging."""
          if kwargs.get("query"):
              url = "{}?{}".format(url, d1_common.url.urlencode(kwargs["query"]))
          curl_list = ["curl"]
          if method.lower() == "head":
              curl_list.append("--head")
          else:
              curl_list.append("-X {}".format(method))
          for k, v in sorted(list(kwargs["headers"].items())):
              curl_list.append('-H "{}: {}"'.format(k, v))
          curl_list.append("{}".format(url))
          return " ".join(curl_list)