<div dir="ltr"><span style="font-size:12.8px">>You can read the headers_in data structure, and write the headers_out</span><br style="font-size:12.8px"><span style="font-size:12.8px">>data structure, as the examples show.</span><br><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">I was able to write in headers_out data structure as i have shown my code already but i was not able to read from headers_in structure that is problem i am facing.</span></div><div><span style="font-size:12.8px">I am looking solution for this only.</span></div><div><span style="font-size:12.8px">I have followed the given example mentioned in  below link.</span><br></div><div><span style="font-size:12.8px"><a href="https://www.nginx.com/resources/wiki/start/topics/examples/headers_management/">https://www.nginx.com/resources/wiki/start/topics/examples/headers_management/</a></span><br></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">i am not able to understand why this is happening.</span></div><div><span style="font-size:12.8px">but if i can  see headers_in structure have the value which i am trying to read.</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 11, 2016 at 2:17 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 Mon, May 09, 2016 at 02:34:13PM +0530, Pankaj Chaudhary wrote:<br>
<br>
Hi there,<br>
<br>
</span><span class="">> Its means nginx do not have any  API as other server having to set header<br>
> and get header ? very strange ...<br>
<br>
</span>You are correct.<br>
<br>
You've already shown code where you read headers sent by the client,<br>
and write headers sent to the client.<br>
<br>
It is very strange.<br>
<span class=""><br>
> I need to write my own module to read and write cookies values?<br>
> My module is in written in C programming language.<br>
<br>
</span>If you want to write a module in C, then your code will be in C.<br>
<br>
You can read the headers_in data structure, and write the headers_out<br>
data structure, as the examples show.<br>
<span class="im HOEnZb"><br>
Good luck with it,<br>
<br>
        f<br>
--<br>
Francis Daly        <a href="mailto:francis@daoine.org">francis@daoine.org</a><br>
<br>
</span><div class="HOEnZb"><div class="h5">_______________________________________________<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>