django return original response based on request code example Example: httpresponse django from django.http import HttpResponse