diff options
-rw-r--r-- | lazybones-hunchentoot.lisp | 5 |
1 files 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)) |