I would like to get a cookie (e.g. country) with this Flask call.
country
data = request.cookies.get(\"country\")
How can I tell if the co
request.cookies is a dict, so:
request.cookies
dict
from flask import request if 'country' in request.cookies: # do something else: # do something else