Update URL Metric storage REST API endpoint to return status code 423 Locked instead of 403 Forbidden#1863
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## trunk #1863 +/- ##
=======================================
Coverage 66.64% 66.64%
=======================================
Files 88 88
Lines 7015 7015
=======================================
Hits 4675 4675
Misses 2340 2340
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
423 Locked instead of 403 Forbidden
Summary
Fixes #1860
Relevant technical choices
permission_callbackforurl-metrics:storeroute to use423as status code instead of 403.