@Lukasa currently, the ``cookie.value`` will be ``'"\\"bar:baz\\""'`` (to clarify: double-quote, slash, double-quote, cookie_value, slash, double-quote, double-quote).

If we want to keep the quotes, we can't use ``.strip()``. Maybe we can use a regex like ``re.sub(r'"\\"(.*)\\""', '"$1"', cookie.value)``, to make sure we remove only the two `\"` at the ends of the string.

@sigmavirus24 the problem came up on a django project i'm working on, where one service would use ``request.set_cookie(key, "param1:param2")``, and we're using requests on a different service and we need to forward the cookie to the browser.

I've already verified that keeping the quotes (but not _escaping_ them) produces the correct cookie.

Moreover,  when removing the quotes altogether (my previous solution), django will recognize the `:` and will add the quotes back again. I've done a quick test with Flask, and in this last scenario (unquoted cookie containing `:`) it doesn't quote the cookie value automatically.