Skip to content

Commit 12d3405

Browse files
authored
Update put.js 200->204 when replacing
1 parent d602ad8 commit 12d3405

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/handlers/put.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ async function putStream (req, res, next, stream = req) {
7171
res.sendStatus(412)
7272
return next()
7373
}
74-
returnStatus = 200
74+
returnStatus = 204 // if content is sent back change to 200
7575
} catch (err) {
7676
resourceExists = false
7777
}

0 commit comments

Comments
 (0)