Skip to content

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?

#23197 (closed)

Does this MR meet the acceptance criteria?

Closes #23197 (closed)

Edited by David

Merge request reports