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?<div class="gmail_extra">
<br><br><div class="gmail_quote">On Mon, Dec 17, 2012 at 10:48 PM, E. Westbrook <span dir="ltr"><<a href="mailto:nginx@westbrook.com" target="_blank">nginx@westbrook.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
I'm very confused... there's not an "$r" to be seen at that link.
Perhaps I asked the original question poorly, or in the wrong place?<br>
<br>
Thanks again,<br>
Eric<br>
<br>
On Mon, Dec 17, 2012 at 7:38 PM, Bob S. <a href="mailto:farseas@gmail.com" target="_blank"><farseas@gmail.com></a>
wrote:<br>
<blockquote>This may help:<br>
<br>
View HTTP Request and Response Header<br>
<br>
</blockquote>
On Mon, Dec 17, 2012 at 5:29 PM, E. Westbrook
<a href="mailto:nginx@westbrook.com" target="_blank"><nginx@westbrook.com></a> wrote:<br>
<blockquote>Hi!<br>
<br>
I'm new to the list; so please accept my apologies and do kindly
correct me if I've missed something in my research, or if I'm not
complying with any particular social custom or etiquette on this
list.<br>
<br>
I'm using nginx's integrated perl support, and all is going well
so far, but I'm missing one critical thing right now: a way to
get a list of all of the request headers.<br>
<br>
I can certainly use $r->header_in() to obtain any given
specific header, which works well if I know the header in advance
-- but in my case I need to iterate all of the incoming request
headers, even (especially, actually) headers whose presence I
would not have anticipated.<br>
<br>
I do see some references to Nginx modules on CPAN, and in at least
one of those, a $r->headers_in() method... but those modules
are not the same animal as the built-in "nginx" module, are they.<br>
<br>
Please help!<br>
<br>
Thanks,<br>
Eric<br>
</blockquote>
</div>
<br>_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br></blockquote></div><br></div>