Regarding development nginx module


This is Pankaj,I am trying to write a module which is capable to access
header value and set header and reading cookie and setting cookie.
if i refer apache module then found apr_table_get() and apr_table_set()
APIs are available to get/set header/cookie values.
I have tried to use ngx_http_get_variable() API to get cookie value but
getting any value.
Please help me on this and let me know is any other API which I can use
the same.

Thanks & Regards,
Pankaj Chaudhary