Request object's unique identifier - django or django rest framework
<p>Whenever a request goes to a server, I think there would be a unique identifier for each request object. But I couldn't find how to access that unique identifier. </p>

<p>I have already read the docs for <a href="https://docs.djangoproject.com/en/1.10/ref/request-response/#django.http.HttpRequest" rel="nofollow">django HTTPRequest</a> and <a href="http://www.django-rest-framework.org/api-guide/requests/" rel="nofollow">django-rest-framework Request Object</a>.</p>

<p>Please Explain, How to get request object's unique identifier, If there is one ? </p>

<p>I think <code>No</code>. There is no unique identifier for each and every request something like <code>request-id</code>.We have to generate it from server or generate from client side and pass to server via <code>Header</code>. Also there is no <code>time</code> in <code>HTTP request</code> according to <a href="https://www.w3.org/Protocols/HTTP/HTRQ_Headers.html" rel="nofollow">w3c</a></p>

python django request django-rest-framework