fix router bug: when the request is PUT or DELETE, router can't find the...

剛剛重新 fork 一份，直接把 branch 切到 develop 修改這段 code ，現在應該沒有衝突了