distinguish between html & plain content type