;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Dec 2002
;;;;
-;;;; $Id: utils.lisp,v 1.2 2003/07/05 00:51:04 kevin Exp $
+;;;; $Id: utils.lisp,v 1.3 2003/07/08 06:40:00 kevin Exp $
;;;; *************************************************************************
(in-package #:modlisp)
(setq ,result (progn ,@body)))))
(cond
(,precomp
- (write-header-line "Content-Length" (write-to-string (length ,outstr)))
+ (write-header-line "Content-Length"
+ (write-to-string (length ,outstr)))
(write-header-line "Keep-Socket" "1")
(write-string "end" *apache-socket*)
(write-char #\NewLine *apache-socket*)
(write-string ,outstr *apache-socket*)
+ (force-output *apache-socket*)
(set-close-apache-socket nil))
(t
- (finish-output *apache-socket*)
- (set-close-apache-socket t)))
+ (set-close-apache-socket t)
+ (finish-output *apache-socket*)))
,result)))
(defun redirect-to-location (url)