Has any body tried to use acceptor-names in hunchentoot define-easy-handler?
I can only get the easy-handler to find the acceptor-name if I change
(find (acceptor-name *acceptor*) acceptor-names :test #'eq))
to
(find (acceptor-name *acceptor*) acceptor-names :test #'equal))
In the following function.
(defun dispatch-easy-handlers (request) "This is a dispatcher which returns the appropriate handler defined with DEFINE-EASY-HANDLER, if there is one." (loop for (uri acceptor-names easy-handler) in *easy-handler-alist* when (and (or (eq acceptor-names t) (find (acceptor-name *acceptor*) acceptor-names :test #'eq)) ....
As far as I have seen in my tests acceptor-names have to be strings(sequences) so changing eq to equal makes sense...
Or am I smoking my socks again?