Basically, HttpStatusCode is not an enum, it’s a n...
# ktor
o
Basically, HttpStatusCode is not an enum, it’s a named pair of int for code and string for message (message can be any in http protocol). So, you can create HttpStatusCode right away if you have message. If not, you probably will need small dictionary of codes->messages you use.