Unknown 428 http status code description via nginx

libresco_27 nginx-forum at forum.nginx.org
Wed Jun 1 12:32:35 UTC 2022


Hello,

I added 428 as an allowed http status code that can be returned from nginx.
But when I access this from postman/insomnia the status code description
comes out to be "unknown". eg - HTTP/1.1 428 Unknown, instead of HTTP/1.1
428 Precondition Required
>From my nginx gateway, I am just returning the status code and no
description. And this works fine for all the other status codes.

Going through the nginx documentation -
https://www.nginx.com/resources/wiki/extending/api/http/, seems like nginx
doesn't support 428 http status(I might be wrong here). 

Is there any way I can override something in nginx to display correct status
code description?

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,294386,294386#msg-294386



More information about the nginx mailing list