Skip to content

Commit d88723a

Browse files
committed
Changes while reviewing
1 parent 0f5fa25 commit d88723a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

rest.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ const checkPatchOverrideSupport = function (req, res) {
3232
* reaching controllers, preventing unhandled errors from unparsed or mis-parsed bodies.
3333
*
3434
* - Skips validation for methods that don't carry bodies (GET, HEAD, OPTIONS, DELETE)
35+
* - Skips validation for endpoints that do not use a body (/release)
3536
* - Allows text/plain for /search endpoints (which accept plain text search terms)
3637
* - Requires application/json or application/ld+json for all other write endpoints
3738
* - Returns 415 for missing or unsupported Content-Type

0 commit comments

Comments
 (0)