Request: allow request body to be accessed as a variable

Is there any chance that we might one day be able to do comparisons
against the request body as we do now with $args?

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

Evan M. 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