;;; -*- mode: Lisp; Syntax: Common-Lisp; -*- ;;; ;;; Copyright (c) 2009 by the authors. ;;; ;;; See LICENCE for details. (in-package :hu.dwim.web-server.test) (def special-variable *parameter-application* (make-instance 'standard-application :path "parameter")) (def function render-mime-part-details (mime-part)

>> ,@(iter (for header :in (rfc2388-binary:headers mime-part)) (collect
>))>
>>
>
>
>
>>) (def entry-point (*parameter-application* :path "") (with-request-parameters ((number "0" number?) ((the-answer "theanswer") "not supplied" the-answer?)) (declare (ignore number the-answer)) (make-raw-functional-response () (emit-http-response/simple-html-document (:title "foo")

>
>> ,@(do-parameters (name value)
>)>
> >

(render-request *request*)))))