add index and term http header