node-solid-server icon indicating copy to clipboard operation
node-solid-server copied to clipboard

fix: Return 201 when PATCH creates a new resource

Open CxRes opened this issue 8 months ago • 11 comments

A PATCH request may end up creating a new resource, in which case a 201 status code should be returned.

This is an equivalent change as that for PUT in #1785.

This does not update or add tests, please fix that!

CxRes avatar May 31 '24 23:05 CxRes