From 282e9e0b5e7c2a3ab9ad2cae7e55220f139f6330 Mon Sep 17 00:00:00 2001 From: Jordi Llonch Date: Fri, 13 Mar 2015 23:28:01 +0100 Subject: [PATCH] fix clojure handling multipart form attributes example code --- core_manual_clojure.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core_manual_clojure.html b/core_manual_clojure.html index 726a8f3..0a00e1c 100644 --- a/core_manual_clojure.html +++ b/core_manual_clojure.html @@ -1998,8 +1998,8 @@

Handling Multipart Form Attributesvertx.http/expect-multi-part on the request before any of the body is read in order for the form attributes to be available.

-
(stream/on-end request
-  (http/expect-multi-part request)
+
(http/expect-multi-part request)
+(stream/on-end request
   ;; The request has been full read, so now we can look at the form attributes
   #(do-something-with-form-attributes (http/form-attributes request)))