diff options
author | Colin Okay <okay@toyful.space> | 2022-02-14 13:43:15 -0600 |
---|---|---|
committer | Colin Okay <okay@toyful.space> | 2022-02-14 13:43:15 -0600 |
commit | ec229054f673b0aca47dcfe8ac46d6acd3df6a32 (patch) | |
tree | a3734e2335c46e4e1d2129bdebca90494c99b52f | |
parent | 128f72863fa3f736c93175267beb23292e70e096 (diff) |
default content type tweak in hunchentoot backend
-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)) |