def _html_or_none(self, request, template, context={}):
        if (http.accepts_html(request.META.get('HTTP_ACCEPT'))):
            return render_to_string(template, context)
        return None
Renders html response string from a given template.
dataset/ETHPy150Open wrr/wwwhisper/wwwhisper_auth/views.py/Auth._html_or_none