#There is a reason to don't add 498 error in HttpStatus enum ?

3 messages · Page 1 of 1 (latest)

serene swan
limpid hearth
#

It's the first time I noticed this status code. At first view, it looks like an unofficial status code for an invalid token.

Instead of using this status code, why couldn't you use 403? That is more common.

serene swan
#

it’s a good point, I didn’t see it was unoficial.
we use 403 for another needs and the 498 to auto refresh the token.

But it’s not really a problem I will extend HttpStatus for my need.

thanks 🙂