If request was unhandled due to missing route or some other reason (e.g. route was found, but some other condition was wrong and your application decided it cannot respond), it shouldn’t set 404 either, because there could be other interceptors (or even non-ktor servlet handlers installed into same container) may want to handle it