For some reason I am in need of a views.py
that returns only some text. Normally, i'd use HttpResponse("text")
for this. However, In this case I require the text to be send over https
, to counter the inevitable mixed content warning.
What is the simplest way of sending pure text via django(1.7.11) over https?