[Answer]-What is the HttpRequest metadata that's passed to a django view function

1👍

Have a look at the docs.

It contains python representations for various attributes of an http request.

examples –

request.path # the url (excluding domain)
request.method # eg GET or POST
request.cookies
request.user # A django.contrib.auth.models.User object representing the currently logged-in user
request.META # A standard Python dictionary containing all available HTTP headers

Leave a comment