Added the function isget() and ispost()