We need to be able to identify the application / version of an application I am working on when it hits our REST endpoints. Currently I’m using juce::URL::createInputStream to make the requests.
On Windows it simply sends juce
as the user agent and on macOS it’s APP_NAME/APP_VERSION CFNetwork/1492.0.1 Darwin/23.3.0
It seems these are just baked into the WebInputStream::Pimpl
classes so there is no way to change them.
It would be great if a withUserAgent
option could be added to URL::InputStream::Options
much like WebBrowserComponent::Options
has.