On Wed, 26 Apr 2000, David Hajoglou wrote:
> so, is it possible to take a GET request and rewrite the uri into a POST
> request and if so how?
i'm not sure if that's really necessary. you could just put the GET args
into $r->pnotes, perhaps like so:
sub handler {
my $r = shift;
return DECLINED unless $r->is_main();
my $apr = Apache::Request->new($r);
my @params = $apr->param;
my %args = ();
$args{$_} = $apr->param($_) for @params;
$r->pnotes('args', %args);
return OK;
}
ky
- how to rewrite to a POST David Hajoglou
- Re: how to rewrite to a POST Ken Y. Clark
- Re: how to rewrite to a POST J. J. Horner
- Re: how to rewrite to a POST Kip Cranford
- RE: how to rewrite to a POST Geoffrey Young
- Re: how to rewrite to a POST David Hajoglou
- Re: how to rewrite to a POST Jim Winstead
