(52) Empty reply from server

Pankaj Chaudhary pankajitbhu at gmail.com
Wed May 11 06:49:14 UTC 2016


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

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.
I am looking solution for this only.
I have followed the given example mentioned in  below link.
https://www.nginx.com/resources/wiki/start/topics/examples/headers_management/

i am not able to understand why this is happening.
but if i can  see headers_in structure have the value which i am trying to
read.

On Wed, May 11, 2016 at 2:17 AM, Francis Daly <francis at daoine.org> wrote:

> 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
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20160511/e1e0cfe6/attachment.html>


More information about the nginx mailing list