def application(environ, start_response):
    cookie = Cookie.SimpleCookie()
cookie.load(environ['HTTP_COOKIE'])
some_value = cookie['some_key'].value
How to extract particular key from HTTP cookies in Python?