Re: balance url_param with POST

From: Bryan Talbot <>
Date: Tue, 1 Mar 2011 00:13:58 -0800

>> I'm not seeing how to use reqrep to alter a POST uri by appending a
>> '&a=1' parameter to the end since there is no support for substitution
>> groups.  Any pointers?
> We can't modify the contents of a POST request but we can indeed alter
> the URI. And yes it does support substitution groups. For instance, you
> could duplicate the only url param you currently have, eg something
> approximately like this :
>     reqrep ^(.*)\?([^&]*)$ \1?\2&\2

Your'e right of course. I don't know why I was thinking that I couldn't use substitution groups. Thanks for the pointer and this will work for me as a work-around until a proper fix can be made. I only need to alter the request line and not POST content.

-Bryan Received on 2011/03/01 09:13

This archive was generated by hypermail 2.2.0 : 2011/03/01 09:30 CET