I am trying to define HTTP method COPY in my gin router as defined by RFC 4918 specification but gin router group does not support it. It only supports POST, PATCH, GET, DELETE, PUT, OPTIONS and HEAD
Comment From: xmx
engine := gin.Default()
// COPY http://host:port/path
engine.Match([]string{"COPY"}, "/path", func(c *gin.Context) {
c.String(http.StatusOK, "Hello")
})