add support for DELETE, HEAD  methods