added support of major HTTP methods