def METHOD_NAME(
    ext: str,
    headers: dict[str, str],
    image_url: str,
    parsed_image_url: urlparse,
    is_full_size: bool,
    is_compressed: bool,
) -> tuple[str, dict[str, str], dict[str, str]]:
    """
    Get the request params (url, params, headers) for the thumbnail proxy.
    If the image type is supported by photon, we use photon, and compute the necessary
    request params, if the file can be cached and returned as is (SVG), we do that,
    otherwise we raise UnsupportedMediaType exception.
    """
    if ext in PHOTON_TYPES:
        return get_photon_request_params(
            parsed_image_url, is_full_size, is_compressed, headers
        )
    elif ext in ORIGINAL_TYPES:
        return image_url, {}, headers
    raise UnsupportedMediaType(
        f"Image extension {ext} is not supported by the thumbnail proxy."
    )