Skip to content

Commit

Permalink
Update put.js 200->204 when replacing
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff-zucker authored May 25, 2024
1 parent d602ad8 commit 12d3405
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/handlers/put.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ async function putStream (req, res, next, stream = req) {
res.sendStatus(412)
return next()
}
returnStatus = 200
returnStatus = 204 // if content is sent back change to 200
} catch (err) {
resourceExists = false
}
Expand Down

0 comments on commit 12d3405

Please sign in to comment.