X-Git-Url: http://git.kpe.io/?p=wol.git;a=blobdiff_plain;f=project.lisp;h=5ff310459c74a72cf60b5dea71dc3c1869eaf98f;hp=ed1ef4892c8a0beb42db44cbe477bbc1f3c28290;hb=1fa7614ba895d7a1bccd310cf9d8e8e1e2472d14;hpb=115593575b49ab252692a959380e94707e385de3 diff --git a/project.lisp b/project.lisp index ed1ef48..5ff3104 100644 --- a/project.lisp +++ b/project.lisp @@ -309,7 +309,7 @@ (net.aserve:with-http-response ((aserve-request ,req) (entity-aserve-entity ,ent) - :content-type (ml::format-string ,format) + :content-type (ml::format-string ,format ,headers) :timeout ,timeout :response (case ,response-code @@ -351,7 +351,7 @@ ,result ,outstr ,stream) (declare (ignorable ,stream)) (write-header-line "Status" ,response-string) - (write-header-line "Content-Type" (ml::format-string ,fmt)) + (write-header-line "Content-Type" (ml::format-string ,fmt ,headers)) (dolist (,hdr ,headers) (write-header-line (car ,hdr) (cdr ,hdr))) (unless ,precomp