def request_methods_view(request):
 return HttpResponse(('request method: %s' % request.method))

def request_methods_view ( request ) : return HttpResponse ( ( 'request method: %s' % request . method ) )
a view that responds with the request method .