Thanks Gary! I haven't touched the middleware stack for a while, and I only found out about this thing when testing my routes for security. But, if response maps are supposed to be left alone, how is ring.util.response supposed to work, for instance the "not-found" function:
(defn not-found "Returns a 404 'not found' response." {:added "1.1"} [body] {:status 404 :headers {} :body body}) They all return an empty header. I guess it's not something (not accepting the response if content type is missing?) that has changed in Chrome or Firefox over the last few month? But then, the compojure wiki's example for a map also manually adds the content-type: https://github.com/weavejester/compojure/wiki/Routes-In-Detail -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.