generate weak ETag in ETag middleware