illidan33 commented on issue #10915:
URL: https://github.com/apache/apisix/issues/10915#issuecomment-1928686948
You can change the status of response in the `header_filter` phase. like
this:
`ngx.header.content_length = #your body's length
ngx.header.content_encoding = nil
ngx.status = 400`
It worked for me.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]