Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] jetty-client: don't send default User-Agent field

Hi,

On Sun, Sep 24, 2017 at 1:40 AM, Greg Wilkins <gregw@xxxxxxxxxxx> wrote:
> @sbordet, because the Request code only replaces the UA if it is non null on
> the HttpClient.  So they want to set it to null so it doesn't replace the
> original UA. But setter can't handle null

Ok, so the original request had no User-Agent field, and the proxied
turns out to have the default set in HttpClient, which is not ideal.
https://github.com/eclipse/jetty.project/issues/1845.

-- 
Simone Bordet
----
http://cometd.org
http://webtide.com
Developer advice, training, services and support
from the Jetty & CometD experts.


Back to the top