fixed issue with http verbs not being respected.