-n 1 -c 1 http://..."; and compare the results.
>
> Then add your fixup code and try again.
>
> Torsten
>
>
--
View this message in context:
http://old.nabble.com/Adding-args-to-a-Request-through-InputFilter-tp27228223p27355930.html
Sent from the mod_perl - General mailing list archive at Nabble.com.
On Friday 22 January 2010 15:38:30 Ivory wrote:
> I've manage to setup a PerlFixupHandler, and it works perfectly well for
> adding / deleting headers and args.
>
> But it seems like this process is pretty time-consuming... Any known issue
> about that?
>
If "pretty time-consuming" means a few mi
r->headers_in->{Cookie} can be used.
>
> Torsten
>
>
--
View this message in context:
http://old.nabble.com/Adding-args-to-a-Request-through-InputFilter-tp27228223p27274143.html
Sent from the mod_perl - General mailing list archive at Nabble.com.
On Wednesday 20 January 2010 11:40:43 Ivory wrote:
> The fact is that in order to add this arg to the request I need to call
> several Web services, crypt and decrypt datas and access the cookies I've
> previously stored in the clients navigator.
>
yes.
Cookies come in as HTTP headers. So $r->hea
again, it consumes it only in
> the
> response phase. CGI environment variables are set earlier. So changing $r-
>>args in a filter cannot affect them.
>
> Instead use a PerlFixupHandler or so.
>
> PerlFixupHandler "sub {$_[0]->args(q{userId=10});0;}"
>
> Torsten
>
>
--
View this message in context:
http://old.nabble.com/Adding-args-to-a-Request-through-InputFilter-tp27228223p27239686.html
Sent from the mod_perl - General mailing list archive at Nabble.com.
On Tuesday 19 January 2010 17:11:03 Ivory wrote:
> I would like to add args to a request on the fly thanks to an InputFilter.
>
> It seems like the $f->r->args($new_args) doesn't record the new argument
> inside the request.
>
> For example :
>
> Inside the filter :
> sub handler{
>
> my ($
l, a little help would be appreciated :)
Ivory
--
View this message in context:
http://old.nabble.com/Adding-args-to-a-Request-through-InputFilter-tp27228223p27228223.html
Sent from the mod_perl - General mailing list archive at Nabble.com.