add headers in response python django code example Example: httpresponse django from django.http import HttpResponse