r8225: add entities for latin-1 characters
[wol.git] / project.lisp
index a6a00feb24437f3bce28741dd984aebc1e83946a..5ff310459c74a72cf60b5dea71dc3c1869eaf98f 100644 (file)
@@ -7,7 +7,7 @@
 ;;;; Programmer:    Kevin M. Rosenberg
 ;;;; Date Started:  July 2003
 ;;;;
-;;;; $Id: project.lisp,v 1.13 2003/08/10 17:56:44 kevin Exp $
+;;;; $Id$
 ;;;;
 ;;;; This file and Wol are Copyright (c) 2001-2003 by Kevin M. Rosenberg
 ;;;; *************************************************************************
       (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
           ,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