(52) Empty reply from server

Pankaj Chaudhary pankajitbhu at gmail.com
Mon Apr 18 10:55:24 UTC 2016


not able to read header value after setting...

any help most welcome

On Fri, Apr 15, 2016 at 1:17 PM, Pankaj Chaudhary <pankajitbhu at gmail.com>
wrote:

> Hi Francis,
>
> thank you!
>
> i have checked Emillers guide but  i am not able to use the same for my
> problem.
>
> I have my product in c and currently running on Apache and now i have to
> move this product on nginx.
> In Apache apr_table_set()  can use set value to header and later that
> value can read from header by calling
> apr_table_get().
> 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.
>
> Reagrds,
> Pankaj
>
> On Fri, Apr 15, 2016 at 2:43 AM, Francis Daly <francis at daoine.org> wrote:
>
>> On Thu, Apr 14, 2016 at 11:36:52PM +0530, Pankaj Chaudhary wrote:
>>
>> Hi there,
>>
>> > Actually I have requirement to add value to header and then read same
>> value
>> > like cookies values,URL.
>> > Is any API which I can use for the same.
>>
>> The referenced guides are probably the best starting points.
>>
>> It sounds like you want to read headers_in and write headers_out;
>> Emillers guide seems to have examples of that in sections 4.1 and 3.1.3,
>> respectively.
>>
>> Note that just using the words in this mail, your requirements can
>> possibly be met in nginx.conf, not needing a new module at all. I suspect
>> that your full requirements are much more detailed.
>>
>> It is worth making sure that you are very clear on what you are trying
>> to do; otherwise you won't be able to know when you've done it.
>>
>> 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/20160418/10fde773/attachment.html>


More information about the nginx mailing list