https://bz.apache.org/bugzilla/show_bug.cgi?id=62977

--- Comment #1 from Michael Osipov <[email protected]> ---
This header is by default added from our Apache HttpClient. I checked the
source code, there is currently no way of disabling this. Even if you invoke
HttpClentBuilder#setUserAgent(null), it'd overridden with the default one. The
only workaround I see is to call
HttpClentBuilder#addInterceptorLast(HttpRequestInterceptor) which would remove
this header actively. This could be done from JMeter with a JMeter property.
I'd prefer a reasonable solution in HttpClient directly, e.g.,
HttpClentBuilder#disableDefaultUserAgent().

Please a issue with https://issues.apache.org/jira/browse/HTTPCLIENT.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to