Open ComLock opened 1 year ago
The HTTP 1.1 RFC doesn't define method PATCH, but it mentions it's RFC https://datatracker.ietf.org/doc/html/rfc7231#page-29
https://datatracker.ietf.org/doc/html/rfc5789
I can use router.all to implement method OPTIONS, but method PATCH fails before the callback, so I cannot use router.all to implement method PATCH.
Thus I currently don't know of a workaround to support method PATCH.
The problem is not lib-router, but XP https://github.com/enonic/xp/issues/9131
The problem is not lib-router
lib-router has to be updated when XP supports PATCH
The HTTP 1.1 RFC doesn't define method PATCH, but it mentions it's RFC https://datatracker.ietf.org/doc/html/rfc7231#page-29
https://datatracker.ietf.org/doc/html/rfc5789
I can use router.all to implement method OPTIONS, but method PATCH fails before the callback, so I cannot use router.all to implement method PATCH.
Thus I currently don't know of a workaround to support method PATCH.