only deliver as mime type text/html if DOCTYPE html is found