def featured(request):
    content = '<html>test123</html>'
response = HttpResponse(content, content_type='application/liquid')
response['Content-Length'] = len(content)
return response
Setting Content-Type in Django HttpResponse object for Shopify App