Re: Modifying Headers by Analyzing Body

2019-02-05 Thread abmackenzie
Hi Roman, Thank you very much. I will study the source of the modules you mention, I had not realised there were examples of this being done in core NGINX (and in the future direct development questions to the correct mailing list!). Alex Posted at Nginx Forum: https://forum.nginx.org/read.php?

Re: Modifying Headers by Analyzing Body

2019-02-05 Thread Roman Arutyunyan
Hi Alex, On Tue, Feb 05, 2019 at 07:29:19AM -0500, abmackenzie wrote: > Hi all, > > I am attempting to develop an NGINX module which is required to modify the > response headers based on the content of the response body, whether from an > upstream proxy or being fulfilled by the server itself. >

Modifying Headers by Analyzing Body

2019-02-05 Thread abmackenzie
Hi all, I am attempting to develop an NGINX module which is required to modify the response headers based on the content of the response body, whether from an upstream proxy or being fulfilled by the server itself. My current approach, a body filter, does not seem fruitful. By the time the body f