Is there a way to set the user agent that the HTTP Client sends to the server? For example by modifying the headers right before they are sent? I have not been able to find a way to do it, but hope there is one?
You can simply set the user-agent
header in the HTTP request you are sending.