I have a rule module which defines two rules for a content_provider.
At processing point '1' the rule is as follows
<owner class="content_provider" >
<name> Mozilla Org </name>
<id>www.mozilla.org</id>
</owner>
<protocol> http </protocol>
<rule processing-point=1>
<property name="C-Man"
matches="http://www.w3.org/1999/06/24-CCPPexchange" >
<action>parseCCPP</action>
</property>
</rule>
I am trying to perform an action based on the property name "C-Man" that was
provided with the request at point 3. That is, I would like to express a
rule as follows
<rule processing-point=3>
<request.property name="C-Man"
matches="http://www.w3.org/1999/06/24-CCPPexchange" >
<action>transformContent</action>
</property>
</rule>
Notice the "request" prefix before the property tag which implies I am
referring to a header element in the request header which will not be
available in the response header.
Is there a way to do that with current IRML spec?
Any help is appreciated.
regards
-Reza