aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Okay <okay@toyful.space>2022-02-09 07:20:48 -0600
committerColin Okay <okay@toyful.space>2022-02-09 07:20:48 -0600
commit9924bfa510d590b1218f6da083e736957abf7608 (patch)
tree39e4b9c986d5eec10cc91911ea87b965de153b95
parent9e27e583bd64143ed20e8a37fd0c0aa5de1f07b2 (diff)
removed obsolete utility
-rw-r--r--lazybones.lisp11
1 files changed, 0 insertions, 11 deletions
diff --git a/lazybones.lisp b/lazybones.lisp
index 3cf3bad..c04e1e4 100644
--- a/lazybones.lisp
+++ b/lazybones.lisp
@@ -366,17 +366,6 @@ making a new one if not."
;;; utilities
-(defun set-response-headers (&rest headers)
- "Sets response headers for *RESPONSE*. Handy for setting many headers at once.
-
-E.g.
-(set-response-headers
- :content-type \"text/html\"
- :content-length (length html-bytes))"
- (loop for (name value . more) on headers by #'cddr
- do (setf (response-header name *response*) value)))
-
-
(defun http-ok (content)
"Content should be a string, a byte-vector, or a pathname to a local
file. CONTENT-TYPE should be a MIME type string."