Use tiletype for detecting content-type headers.