Re: NJS FastCGI Response Filtering

2022-02-17 Thread Igor Ippolitov
Hello Lance, While I'm not 100% sure is there a chance that the reply is gzipped? May be resetting acccept-encoding header would help? Regards, Igor On 17.02.2022 05:02, Lance Dockins wrote: Is there a good way to reliably filter the response body from a FastCGI script via NJS?  I’ve done th

NJS FastCGI Response Filtering

2022-02-16 Thread Lance Dockins
Is there a good way to reliably filter the response body from a FastCGI script via NJS?  I’ve done this with Lua before but NJS seems to be a bit different in terms of how the response body process works.  The end goal is basically that we just have a way to grab the text back from a FastCGI/PHP