flask.Response.set_etag

Response.set_etag(etag, weak=False)

Set the etag, and override the old one if there was one.