-add support for PUT, DELETE and OPTIONS