refactor: reduce lookup path requests
What does this MR do?
Reduce the number of lookup path requests by avoiding re-requesting the lookup path.
The auxiliary middleware is merged into the authorization middleware: now that artifact handling and https redirect have been abstracted out, the auxiliary middleware is doing duplicate work.
By merging it into the authorization middleware, the lookup path request is atomic (one request per incoming http request, instead of three).
TODO
-
I added the Changelogtrailer (e.g.Changelog: added) to the commits that need to be included in the changelog -
I added unit tests or they are not required -
I added acceptance tests or they are not required -
I added documentation (or it's not required) -
I followed code review guidelines -
I followed Go Style guidelines
Edited by feistel