Hi SuperSaiyan,

> This is the improvised code which solves both: 
> 
> $ pil @lib/http.l @lib/xhtml.l -'(and(mime "txt" "text/plain; 
> charset=utf-8")(mime "htm" "text/html; charset=utf-8"))' --server 9092 tst.l

This is not correct. -'(and (mime ...))' results in ((and (...))) and will most
probably crash (executes the *return* value of 'and' as a function).

The 'and' is not needed anyway. I would recommend

   ... -'mime "txt" "text/plain; charset=utf-8" -'mime "htm" "text/html; 
charset=utf-8"' ...

or, better, create a file which initializes it all.

☺/ A!ex

-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to