Hi, why can I not respond with a 404 not found HTT...
# ktor
w
Hi, why can I not respond with a 404 not found HTTP status?
Copy code
exception<DebugModeNotEnabledException> {
            call.respond(HttpStatusCode.NotFound)
        }
Will respond 200 OK. But if I change the response to for example BadRequest, it replies with a 400 Bad Request. Why is this?