kurt_steiner
02/16/2024, 3:21 PMuid
field, so this is my code
intercept(ApplicationCallPipeline.Call) {
call.request.headers["uid"] ?: throw BadRequestException("no uid field in the request header")
}
but I want to allow the request uri ending with "/image/download/*" to pass all the intercept, how can I write it ?Aleksei Tirman [JB]
02/19/2024, 7:58 AMif (call.request.uri.startsWith("/image/download/")) return@onCall