        #(respond (update % :body (fnil conj []) name))
        raise))))
 
+(defn handler
+  ([{:keys [::mw]}]
+   {:status 200 :body (conj mw :ok)})
+  ([request respond raise]
+   (respond (handler request))))
+
 (deftest ring-test
 
   (testing "simple-router"


    (testing "ring-handler"
      (let [api-mw #(mw % :api)
            handler (fn handle
                      ([{:keys [::mw]}]
                       {:status 200 :body (conj mw :ok)})
                      ([request respond raise]
                       (respond (handle request))))
            router (ring/method-router
                     [["/api" {:middleware [api-mw]}
                       ["/all" handler]


    (testing "ring-handler"
      (let [api-mw #(mw % :api)
            router (ring/simple-router
                     [["/ping" handler]
                      ["/api" {:middleware [api-mw]}
