Hello!
On Mon, Nov 17, 2014 at 1:26 PM, David Birdsong wrote:
> I'm trying to figure out how to change a backend response from an HTTP 200
> to an HTTP 404 based on the content_type header.
>
> If I set ngx.status but can't call ngx.exit(ngx.HTTP_OK), will the status
> code be changed or not?
>
Why not just test it out yourself? It should be much simpler than asking here :)
If the behavior does not match the official documentation, please
provide a minimal example that can reproduce the problem. Thank you :)
Regards,
-agentzh