django get data based on header code example Example: httpresponse django from django.http import HttpResponse