Router should set "Allow" header if occur 405 error
Fix the order of arguments