Do I miss something or should this route always be...
# ktor
h
Do I miss something or should this route always be executed, Ktor 2.3.12?
Copy code
@Test fun fa() = testApplication {
  application {
    routing {
      get {
        call.respond("Hello World")
       }
     }
   }
   assertEquals(HttpStatusCode.OK, client.get("/foo") {}.status)  // 404 Route not found
}
a
A route without a path specified is the same as
route("/")
so the 404 is expected
h
Is there any chance to get a catch all behavior?
a
You can use a tail card selector.