fix download entrytype from http header