Skip to content
This repository was archived by the owner on Oct 24, 2020. It is now read-only.

Add filter function in orde to achieve the exact opposite of filter_except #33

Open
wants to merge 3 commits into
base: 4.0
Choose a base branch
from

Conversation

tmagnien
Copy link

Hi,

To keep some cookies, we need to use filter_except() function on a list, but to delete cookies we need to iterate on indivudual delete() function. Addind a filter() function that is the exact opposite of filter_except() allows for use of the same logic (and eases templating VCLs when needed).

Best regards,
Thierry

@lox
Copy link

lox commented Dec 14, 2015

Would be great to get this functionality. Any chance of rebasing this @tmagnien so that it might be possible to merge. @lkarsten is this a changeset that interests you?

@tmagnien
Copy link
Author

Hi, if @lkarsten is interested, I can update my code, yes.

@joshuaspence
Copy link

+1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants