Pass the QA User-Agent in CustomersDot client if defined
What does this MR do and why?
Pass the QA User-Agent in CustomersDot client if defined to avoid rate limiting requests on the CustomersDot side in E2E tests. This is the 2nd implementation that has the following differences in comparison to the 1st version:
- Sets the default value for the
User-Agent
header to the GitLab version. - If QA UserAgent is defined, it uses it instead of GitLab version.
See this discussion for more information.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Vitaly Slobodin