From ec229054f673b0aca47dcfe8ac46d6acd3df6a32 Mon Sep 17 00:00:00 2001 From: Colin Okay Date: Mon, 14 Feb 2022 13:43:15 -0600 Subject: default content type tweak in hunchentoot backend --- lazybones-hunchentoot.lisp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lazybones-hunchentoot.lisp b/lazybones-hunchentoot.lisp index c5e55fa..09152ce 100644 --- a/lazybones-hunchentoot.lisp +++ b/lazybones-hunchentoot.lisp @@ -248,8 +248,9 @@ return the content." (response-header :content-type) (or (response-header :content-type) (when (pathnamep content) (h:mime-type content)) - (lzb::default-content-type lzb:*app*) - (error "Content Type Not Set"))) + (when lzb:*app* + (lzb::default-content-type lzb:*app*)) + "text/plain")) (if (pathnamep content) (h:handle-static-file content) content)) -- cgit v1.2.3