function acceptHeaderWantsHTML (accept) {
  var parts = (accept || '').split(',')
  return parts.includes('text/html')
}
For a given HTTP accept header, is HTML wanted?
@param {string | undefined} accept
@returns {boolean}