add support for exp header to handle expiration