Hi SuperSaiyanBlue, > > (mime "htm" "text/html; charset=utf-8") > > I did try that but it did not work. The reason i asked :-)
It must be passed to the main server process. I tried this: $ pil @lib/http.l @lib/xhtml.l -'mime "txt" "foo/bar; mumble"' --server 9091 tst.l and get $ curl -si localhost:9091/tst.txt ... Content-Type: foo/bar; mumble > #code for tst.l > (mime "htm" "text/html; charset=utf-8") > (mime "txt" "text/plain; charset=utf-8") The problem here is that tst.l is not loaded, before tst.txt is requested, and *if* tst.l were requested it would be too late. ☺/ A!ex -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe