     (instance? File update)
       (send-stream context response (new FileInputStream update) update)
     (instance? URL update)
-      (send-stream context response (.openStream update) update)))
+      (send-stream context response (.openStream update) update)
+    (instance? Cookie update)
+      (.addCookie response update)))
         
 (defn- apply-http-handler
   "Finds and evaluates the handler that matches the HttpServletRequest. If the

                    FileInputStream)
           (java.net URL)
           (javax.servlet ServletContext)
           (javax.servlet.http HttpServlet
                               HttpServletRequest
                               HttpServletResponse)))
;;;; Mimetypes ;;;;

        (map hash-map
          (route :keywords)
          (rest (re-groups matcher)))))))

;;;; Cookies

;;;; Handler functions ;;;;
 
(defstruct http-handler
