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

> On Sep 25, 2017, at 4:00 AM, Simone Bordet <sbordet@xxxxxxxxxxx> wrote:
> 
> 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.

Perfect, thank you Greg and Simone!

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail


Back to the top