<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="Open Sans">Thanks for the thought! Unfortunately, I
don't think that helps.<br>
<br>
The $r-args() function seems to only return data from the
GET-style query parameters (if any).<br>
<br>
As for the source module (at least, the nginx.pm file), it seems
to be just constants, declarations, definitions and such, but no
actual code. I presume it's all in some kind of XS stuff, which
I'm sure could be further dissected if needed. I suppose I might
end up going that way if all else fails, in hopes it might reveal
some clever API usage that would work.<br>
<br>
But that feels more to me like an effort would seem to be heading
in the direction of developing a patch -- which might be great
(for someone other than me, too) -- but it also might represent a
level of development and maintenance effort far greater than
simply switching to a different (and lesser in some ways)
implementation.<br>
<br>
Indeed, I'm hoping someone just knows of a way using the perl API
just as it is, maybe just not thoroughly documented or easy to
find. After all, I'm just trying to list the request's headers!
Isn't that a pretty basic operation?<br>
<br>
Thanks again,<br>
Eric<br>
<br>
On Tue, Dec 18, 2012 at 7:11 AM, Harold Sinclair
<a class="moz-txt-link-rfc2396E" href="mailto:haroldsinclair@gmail.com"><haroldsinclair@gmail.com></a> wrote:<br>
</font>
<blockquote><font face="Open Sans">You're right the Nginx modules on
CPAN are not related. Sorry I don't have a setup in front of me
but isn't $r->args some data structure that may contain the
request headers? Can you iterate thru it or incorporate
Data::Dumper to see what it contains? Check the source code of
the embedded perl module to see what is implemented?</font><br>
</blockquote>
<br>
</body>
</html>