Add custom header for error responses
What does this MR do?
This MR sets a custom header X-GitLab-Custom-Error
for responses with a status code between 400 and 599.
As suggested in issue #23197 (closed), the custom header can be checked in gitlab-workhorse to prevent it from intercepting error pages.
What are the relevant issue numbers?
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary -
Documentation created/updated -
Tests added for this feature/bug -
Conforms to the code review guidelines -
Conforms to the merge request performance guidelines -
Conforms to the style guides -
Conforms to the database guides
Closes #23197 (closed)
Edited by David