Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update put.js send 200 or 201 depending on prexistance of resource
The HTTP spec says that the Server MUST return a 200 or 204 if PUT replaces and existing resource. See second paragraph of https://httpwg.org/specs/rfc9110#PUT. Brought up by @CxRes.
- Loading branch information