<div dir="ltr">Hi Francis,<div><br></div><div>thank you!</div><div><br></div><div>i have checked <span style="font-size:12.8px">Emillers guide but i am not able to use the same for my problem.</span><br><div><br></div><div>I have my product in c and currently running on Apache and now i have to move this product on nginx.</div><div>In Apache apr_table_set() can use set value to header and later that value can read from header by calling </div><div>apr_table_get().<br></div><div>I am achieving the same behavior apr_table_set() with ngx_list_push() call but not able to find like apr_table_get() in nginx.</div></div><div><br></div><div>Reagrds,</div><div>Pankaj</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 15, 2016 at 2:43 AM, Francis Daly <span dir="ltr"><<a href="mailto:francis@daoine.org" target="_blank">francis@daoine.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, Apr 14, 2016 at 11:36:52PM +0530, Pankaj Chaudhary wrote:<br>
<br>
Hi there,<br>
<br>
</span><span class="">> Actually I have requirement to add value to header and then read same value<br>
> like cookies values,URL.<br>
> Is any API which I can use for the same.<br>
<br>
</span>The referenced guides are probably the best starting points.<br>
<br>
It sounds like you want to read headers_in and write headers_out;<br>
Emillers guide seems to have examples of that in sections 4.1 and 3.1.3,<br>
respectively.<br>
<br>
Note that just using the words in this mail, your requirements can<br>
possibly be met in nginx.conf, not needing a new module at all. I suspect<br>
that your full requirements are much more detailed.<br>
<br>
It is worth making sure that you are very clear on what you are trying<br>
to do; otherwise you won't be able to know when you've done it.<br>
<div class="HOEnZb"><div class="h5"><br>
Good luck with it,<br>
<br>
f<br>
--<br>
Francis Daly <a href="mailto:francis@daoine.org">francis@daoine.org</a><br>
<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" rel="noreferrer" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</div></div></blockquote></div><br></div>