   (testing "Explicit body parsing with multipart request with multiple files."
     (let [p (promise)
           handler (fn [context]
-                    (let [form (ct/parse-formdata context)]
+                    (let [form (ct/get-formdata context)]
                       (deliver p form)
                       "hello world"))]
       (with-server {:handler handler}

  (testing "Simple cors request"
    (let [p (promise)
          handler (fn [ctx] (deliver p ctx) "hello world")
          handler (ct/routes [[:any hs/basic-request]
                              [:any handler]])]
      (with-server {:handler handler}
        (let [response (client/get (str base-url "/foo"))
              ctx (deref p 1000 {})]
          (is (= (:body response) "hello world"))
          (is (= (:status response) 200))
          (is (= (:method ctx) :get))
          (is (= (:path ctx) "/foo")))))))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Session tests

    (let [p (promise)
          app (ct/routes [[:any (hs/body-params)]
                          [:any #(do
                                   (deliver p (:data %))
                                   "hello world")]])]
      (with-server {:handler app}
        (let [response (client/post base-url {:form-params {:foo "bar"}})]
