[Answer]-How do I get the value of a latin1 cookie in django?

1👍

You can access the raw cookie header with request.META["HTTP_COOKIE"], then parse it with the Cookie library.

For example:

>>> import Cookie
>>> x = Cookie.SmartCookie()
>>> x.load(request.META["HTTP_COOKIE"])
>>> x['spam']
<Morsel: foo='eggs'>

Leave a comment