Yes, definitely text/html ; I was testing against filetype earlier.  I will definitely put that test back in; so it remains whether or not to read the html to determine if our plugin generated it, or have some other way of knowing that our plugin generated it.