I am a python newbie  and i have a controler that get Post requests.
I try to print to log file the request that it receive, i am able to print the body but how can i extract all the request include the headers?
I am using request.POST.get() to get the body/data from the request.
Thanks
request.POST should give you the POST body if it is get use request.GET
if the request body is json use request.data
How to print all recieved post request include headers in python