using delete
as HTTP method name in routeConfig
crashes the process
#2
Labels
delete
as HTTP method name in routeConfig
crashes the process
#2
Consider the following
routeConfig
:Expected: the route gets registered and the framework behaves as such
Actual: the whole process is crashed with a cryptic error message:
Reason is that the underlying
restify
server only recognizesdel
as the method name, notdelete
. This happens also when there's a capitalization mismatch (e.g.Get
vsget
orPUT
vsput
). We'll probably want to normalize all verbs before feeding to restify.The text was updated successfully, but these errors were encountered: