Use content type to determine which parser to use.