Set correct expiration header.