Skip to content

refactor: move healthcheck middleware early in the pipeline

feistel requested to merge feistel/gitlab-pages:healthcheck/middleware into master

What does this MR do?

Abstract out an healthcheck middleware and move it early in the pipeline.
Add Cache: no-store when returning healthcheck responses and don't add custom headers to it.

TestHealthCheckMiddleware has also been expanded to cover more cases.

TODO

Merge request reports

Loading