Hi Muhammad,
On Mon, Sep 25, 2023 at 12:01:11AM +0800, Muhammad Nuzaihan wrote:
> Hi,
>
> I would like to return an error message based on the *response* body.
>
> I know i can do it easily with *request* body (with "return
> NGX_HTTP_BAD_REQUEST") but my case i want to do it with *response*
> b
Hi,
I would like to return an error message based on the *response* body.
I know i can do it easily with *request* body (with "return
NGX_HTTP_BAD_REQUEST") but my case i want to do it with *response*
body.
Also i have tried this code with response body filter but i got "*1
header already sent,