June 01, 2022 08:32AM
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?
Subject Author Posted

Unknown 428 http status code description via nginx

libresco_27 June 01, 2022 08:32AM

Re: Unknown 428 http status code description via nginx

Sergey Kandaurov June 02, 2022 09:52AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 80
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready