def fake_long_request(request):
    seconds = int(request.GET['seconds'])
    sleep(seconds)
    html = "<html><body>Slept %s seconds.</body></html>" % seconds
    return HttpResponse(html)
dataset/ETHPy150Open datafolklabs/drest/utils/drest.mockapi/mockapi/projects/views.py/fake_long_request/original