adding support for HTTP PUT and HTTP DELETE