Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] User-Agent setting for UISP http client #9

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

byxorna
Copy link
Owner

@byxorna byxorna commented Feb 8, 2022

I am trying to make goswagger's generated UISP client use a specific User-Agent (to help identify which build is hitting UISP via access logs). Unfortunately, so far I have been unable to figure out which is the correct application of replacing the transport of the runtime with a custom http.RoundTripper that should (but for some reason does not) set the header on every request.

This PR needs love ❤️

@byxorna byxorna added help wanted Extra attention is needed enhancement New feature or request labels Feb 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant