def METHOD_NAME(name, value):
    """Used to serialize *value* for cookie with name *name*.
    RFC 6265 requires that the cookie value representation
    in the response consists only of ASCII characters
    excluding control characters, blank, double quote,
    comma, semicolon, and backslash.
    ``dump`` is used to ensure this.
    """