           route (GET "/foo" []  resp)]
       (is (= (route (request :head "/foo"))
              (assoc resp :body nil)))))
-  
+
   (testing "custom regular expressions"
     (let [route (GET ["/foo/:id" :id #"\d+"] [id] id)]
       (is (nil? (route (request :get "/foo/bar"))))

                   (dissoc req :params)))
            nil)
       req)))
  
  (testing "map arguments"
    ((GET "/foo" {params :params}
       (is (= (params {:x "a", :y "b"})))

       nil)
     (-> (request :get "/foo")
         (assoc :params {"y" "bar", "z" "baz"}))))

  (testing "vector ':as request' arguments"
    (let [req (-> (request :get "/foo")
                  (assoc :params {:y "bar"}))]
