Action syntax/semantics

Gregory Seidman <[email protected]> Sat, 11 Apr 2015 17:05:44 -0400
Newsgroups gmane.comp.web.privoxy.devel
Message-ID <[email protected]>
I'm working on a Firefox addon to reimplement Privoxy functionality. Yes, I
know there are various addons that do various things Privoxy does, but my
goal is to be able to import/export valid Privoxy .action and .filter files
(though, of course, external filters and a few actions can't be supported).
To do so, I need to be sure I understand the syntax and semantics. So, some
questions:

- Does any action OPTIONALLY take a parameter? In particular, is the
  parameter to the block action required?

- Can action aliases take a parameter? I think the answer is no...

- The filter (also external-filter, but I can't support that),
  crunch-client-header, client-header-filter, client-header-tagger,
  crunch-server-header, server-header-filter, and server-header-tagger
  actions all claim to be "Parameterized" in the documentation
  <http://www.privoxy.org/user-manual/actions-file.html>, but aren't they
  actually "Multi-value" in that more than one filter or tagger of the same
  type (but with different parameters) can be applied to a matched
  connection?

Thanks,
--Greg


------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF