<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _get_artifact_response(artifact):
 """Gets the response object for the given artifact. This method may be overridden in environments that have a different way of storing artifact files, such as on-disk or S3. """

    response = flask.Response(
        artifact.data,
        mimetype=artifact.content_type)
    response.cache_control.public = True
    response.cache_control.max_age = 8640000
    response.set_etag(artifact.id)
    return response