Update PATCH action to return a 204 response by default.
Validate Content-Type for PATCH and POST actions.