From what I’ve found with searches, Python seems incapable of this..
Is it possible for a server written in Python to retrieve the Cookie header from an HTTP request, and if so, how?
Specifically, the following header from the request:
Cookie: name=value; name2=value2
All of my searches so far seem to indicate that Python is only capable of acting as a client in regards to cookies.
It really depends on what framework you are using for the server as Ned mentioned.
If for example you are using CherryPy there is plenty of documentation to be found: http://docs.cherrypy.org/stable/progguide/cookies.html
Check the documentation for whatever framework you are using to find the answer.