This releases allows to pass partial cookies (with just `name` and `value`), and fixes https://github.com/ail-project/lacus/issues/18.
So if we get a cookie in that format:
json
{"cookie_name": "cookie_value"}
We transform it to (which is also a valid way to pass a cookie):
json
{"name": "cookie_name", "value": "cookie_value"}
And then, we need to initialize the `domain` and `path` settings, and it comes with an important caveat, due to how the cookies are handled by the browsers:
* if a cookie is initialized for a specific URL (= the `url` parameter set), it will only be sent along a request for that specific URL
* if a cookie is initialized with the `domain` **and** `path` parameters, it will only be sent for requests to that domain (and subdomains) **and** path
When we initialize the capture in LacusCore, we have no way to know the domains that are loaded during the capture, so our best bet is to set `domain` to the hostname of the capture and `path` to `/`, which means the cookie will be sent to every request sent to that hostname, but it won't be sent to **any** other request. So if you know your cookie has to be sent to a specific domain that is not the hostname (or a subdomain) of the capture, you must initialize it yourself.
**Full Changelog**: https://github.com/ail-project/LacusCore/compare/v1.9.5...v1.9.6