michael-o commented on issue #128: [HTTPCLIENT-1952] Allow default User Agent 
to be disabled
URL: 
https://github.com/apache/httpcomponents-client/pull/128#issuecomment-449666799
 
 
    @ok2c That is true, but that would require if clauses around 
`execChainDefinition.addFirst` and `b.addAll(.., new 
RequestUserAgent(userAgentCopy), new RequestExpectContinue());` and make the 
code less readable. I think this is a good compromise given that most people 
won't disable this header.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to