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.
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 ❤️