> -----Original Message-----
> From: Ken Y. Clark [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 27, 2000 9:06 AM
> To: [EMAIL PROTECTED]
> Subject: Re: how to rewrite to a POST
>
>
> 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;
> }
or just use Apache::RequestNotes, which does all that for you (and parses
your cookies, if any, while it's at it...)
--Geoff
>
> ky
>