(52) Empty reply from server

Francis Daly francis at daoine.org
Tue May 10 20:47:05 UTC 2016


On Mon, May 09, 2016 at 02:34:13PM +0530, Pankaj Chaudhary wrote:

Hi there,

> Its means nginx do not have any  API as other server having to set header
> and get header ? very strange ...

You are correct.

You've already shown code where you read headers sent by the client,
and write headers sent to the client.

It is very strange.

> I need to write my own module to read and write cookies values?
> My module is in written in C programming language.

If you want to write a module in C, then your code will be in C.

You can read the headers_in data structure, and write the headers_out
data structure, as the examples show.

Good luck with it,

	f
-- 
Francis Daly        francis at daoine.org



More information about the nginx mailing list