Skip to content

WIP: Add API to block cookies per-request

Patrick Griffis requested to merge wip/tingping/request-block-cookies into master

This will be used by WebKitGTK as part of its "Intelligent Tracking Prevention" support which blocks cookies. This is needed because currently all cookie policies happen at the SoupSession level but that is shared between many requests while we want to block cookies per request.

This API is very direct to our needs but I'm not sure if there is a more generic usage we should be thinking about.

This will of course actually be merged after 2.66 is released since its so late in the cycle.

I will also add some tests/docs but I wanted some feedback on the API.

CC @csaavedra @mcatanzaro

Edited by Patrick Griffis

Merge request reports