def METHOD_NAME(client, url, use_fingerprinting, cache_headers):
    if use_fingerprinting:
        url = asset_fingerprinter.get_url(url)
    response = client.get(url)
    assert response.status_code == 200
    assert response.headers["Cache-Control"] == cache_headers