fixes #16: fix the bug that modified will give a wrong method if the method type is not "GET"