isHtmlExpected

private open fun isHtmlExpected(path: String, acceptHeader: String): Boolean