code: def test_http_request_customize_config(monkeypatch):
      with mock.patch(
          "mlflow.utils.rest_utils._get_http_response_with_retries"
      ) as mock_get_http_response_with_retries:
          host_only = MlflowHostCreds("http://my-host")
          monkeypatch.delenv(
              "MLFLOW_HTTP_REQUEST_MAX_RETRIES", raising=False
          )
          monkeypatch.delenv(
              "MLFLOW_HTTP_REQUEST_BACKOFF_FACTOR", raising=False
          )
          monkeypatch.delenv(
              "MLFLOW_HTTP_REQUEST_TIMEOUT", raising=False
          )
          http_request(host_only, "/my/endpoint", "GET")
          mock_get_http_response_with_retries.assert_called_with(
              mock.ANY,
              mock.ANY,
              5,
              2,
              1.0,
              mock.ANY,
              True,
              headers=mock.ANY,
              verify=mock.ANY,
              timeout=120,
          )
          mock_get_http_response_with_retries.reset_mock()
          monkeypatch.setenv("MLFLOW_HTTP_REQUEST_MAX_RETRIES", "8")
          monkeypatch.setenv("MLFLOW_HTTP_REQUEST_BACKOFF_FACTOR", "3")
          monkeypatch.setenv(
              "MLFLOW_HTTP_REQUEST_BACKOFF_JITTER", "1.0"
          )
          monkeypatch.setenv("MLFLOW_HTTP_REQUEST_TIMEOUT", "300")
          http_request(host_only, "/my/endpoint", "GET")
          mock_get_http_response_with_retries.assert_called_with(
              mock.ANY,
              mock.ANY,
              8,
              3,
              1.0,
              mock.ANY,
              True,
              headers=mock.ANY,
              verify=mock.ANY,
              timeout=300,
          )
  
imports: import re
  from unittest import mock
  import numpy
  import pytest
  import requests
  from mlflow.environment_variables import MLFLOW_HTTP_REQUEST_TIMEOUT
  from mlflow.exceptions import InvalidUrlException, MlflowException, RestException
  from mlflow.protos.databricks_pb2 import ENDPOINT_NOT_FOUND, ErrorCode
  from mlflow.protos.service_pb2 import GetRun
  from mlflow.pyfunc.scoring_server import NumpyEncoder
  from mlflow.tracking.request_header.default_request_header_provider import _USER_AGENT, DefaultRequestHeaderProvider
  from mlflow.utils.rest_utils import MlflowHostCreds, _can_parse_as_json_object, augmented_raise_for_status, call_endpoint, call_endpoints, http_request, http_request_safe
  from tests import helper_functions
label_desc: Use image node_id 26 for calling a global function with example usage: test_http_request_customize_config(monkeypatch) without return types