http server contentype and trie fix