http: check if index is present