request: allow request body to be accessed as a variable
Ben Grimm
lists at ruby-forum.com
Tue Jan 1 01:24:46 MSK 2008
Evan Miller wrote:
> Ben Grimm wrote:
>> Is there any chance that we might one day be able to do comparisons
>> against the request body as we do now with $args?
>
> Maybe the embedded Perl module suits your needs?
>
> http://wiki.codemongers.com/NginxEmbeddedPerlModule
>
> Evan
I am using perl right now, but there seems to be no way to read the body
and then proxy that request to an upstream. See:
http://www.ruby-forum.com/topic/135990
The only way around it that I could come up with was to read the body
and then redirect the client to the same url with the posted parameters
in the url.
Ben
--
Posted via http://www.ruby-forum.com/.
More information about the nginx
mailing list