lookup rewriter by content-type