Closed thblt closed 6 years ago
While ugly, technically you can use defservlet with the empty symbol:
(defservlet ## text/plain ()
(princ "Hello, world!"))
The symbol name is appended to "http/" and interned.
I didn't know about the empty symbol, thanks a lot!
This is more a request for clarification than an issue: to replace the default/root servlet, one needs to use
defun
to redefinehttpd/
, and the defservlet macros are useless there, am I correct?Thanks!