def METHOD_NAME(self):
    url = "/_static/1234567890/sentry/js/ads.js"
    response = self.client.get(url)
    close_streaming_response(response)
    assert response.status_code == 200, response
    assert response["Cache-Control"] == FOREVER_CACHE
    assert response["Vary"] == "Accept-Encoding"
    assert response["Access-Control-Allow-Origin"] == "*"
    assert "Content-Encoding" not in response
    url = "/_static/a43db3b08ddd4918972f80739f15344b/sentry/js/ads.js"
    response = self.client.get(url)
    close_streaming_response(response)
    assert response.status_code == 200, response
    assert response["Cache-Control"] == FOREVER_CACHE
    assert response["Vary"] == "Accept-Encoding"
    assert response["Access-Control-Allow-Origin"] == "*"
    assert "Content-Encoding" not in response
    with override_settings(DEBUG=True):
        response = self.client.get(url)
        close_streaming_response(response)
        assert response.status_code == 200, response
        assert response["Cache-Control"] == NEVER_CACHE
        assert response["Vary"] == "Accept-Encoding"
        assert response["Access-Control-Allow-Origin"] == "*"