Hi all,

 

I am using a library that in turns uses Apache HttpClient. This library
gives access to the instance of HttpClient it uses (so I was able to set
proxy,credential...)  but no access to the HttpMethod instance it uses.
The problem now is that I need to set the request header
accept-encoding. 

Is there a way to set it on the HttpClient scope and then all methods
from this instance will use this header?

 

Many thanks,

IMPORTANT NOTICE: CONFIDENTIAL AND LEGAL PRIVILEGE

This electronic communication is intended by the sender only for the access and 
use by the addressee and may contain legally privileged and confidential 
information. If you are not the addressee, you are notified that any 
transmission, disclosure, use, access to, storage or photocopying of this 
e-mail and any attachments is strictly prohibited. The legal privilege and 
confidentiality attached to this e-mail and any attachments is not waived, lost 
or destroyed by reason of a mistaken delivery to you. If you have received this 
e-mail and any attachments in error please immediately delete it and all copies 
from your system and notify the sender by e-mail. Nothing in this communication 
is intended to operate as an electronic signature under any applicable law...

Reply via email to