I assume request.content had headers and such, unmolested. The (misnamed) request.GET and request.POST properties are processed (though that's useful too) but we'd need to include request.META to get headers too, I think.
I've also noticed the django.http.request.build_request_repr() function which:
"""
Builds and returns the request's representation string. The request's
attributes may be overridden by pre-processed values.
"""
Let's allow Django to unravel its spaghetti interiors for us?
I assume request.content had headers and such, unmolested. The (misnamed) request.GET and request.POST properties are processed (though that's useful too) but we'd need to include request.META to get headers too, I think.
I've also noticed the django. http.request. build_request_ repr() function which:
"""
Builds and returns the request's representation string. The request's
attributes may be overridden by pre-processed values.
"""
Let's allow Django to unravel its spaghetti interiors for us?