Hi,
Not currently, but there is a stale pull request for this:
https://github.com/openresty/lua-nginx-module/pull/870
In my opinion, it seems like a good addition, but I don't know if it is
desired or not.
Best,
Thibault
On 1/31/18 2:11 PM, Nicolas Franck wrote:
Is it possible to change the HTTP status reason, the text is placed
after the status code?
e.g.
HTTP/1.1 200 OK
should become
HTTP/1.1 200 yes!
I read somewhere that the text next to the status code can be anything.
For now, I can only change the status code:
|
ngx.status =200
|
--
.