diff options
Diffstat (limited to 'lazybones.lisp')
-rw-r--r-- | lazybones.lisp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/lazybones.lisp b/lazybones.lisp index 6e1da32..2f15a53 100644 --- a/lazybones.lisp +++ b/lazybones.lisp @@ -44,7 +44,6 @@ (handler-function :reader endpoint-request-handler) (documentation :reader endpoint-documentation :initarg :doc :initform ""))) - (defparameter +http-methods+ (list :get :head :put :post :delete :patch)) @@ -89,8 +88,8 @@ Returns NIL on failre." (list (read-from-string var-name) (read-from-string (first decoder?))) (list (read-from-string var-name)))))) -(defun add-route (method routestring handler-function) - (assert (member method +http-methods+) nil - "~a is not a valid HTTP method indicator." - method) - ) +;; (defun add-route (method routestring handler-function) +;; (assert (member method +http-methods+) nil +;; "~a is not a valid HTTP method indicator." +;; method) +;; ) |