from django.http import HttpResponse


def health_view(request):
    return HttpResponse()

from django.http import HttpResponse


def health_view(request):
    return HttpResponse("I am okay.", content_type="text/plain")

Return some text on a health check
Return some text on a health check

  from django.http import HttpResponse
  
  
  def health_view(request):
-     return HttpResponse()
+     return HttpResponse("I am okay.", content_type="text/plain")
  
Return some text on a health check
## Code Before:
from django.http import HttpResponse


def health_view(request):
    return HttpResponse()

## Instruction:
Return some text on a health check
## Code After:
from django.http import HttpResponse


def health_view(request):
    return HttpResponse("I am okay.", content_type="text/plain")
