Override WebRequest default headers

 
Is there a way to override the WebRequest headers added by default, such as Accept-Language?

The default value for Accept-Language, I suppose, depends on the system locale, so for me it's ru,en;q=0.5 which means ru locale with weight 1 and en locale with weight 0.5.
My goal is to get a response with the en locale. If I pass value Accept-Language: en;q=1\r\n to the headers param of the WebRequest function, it will just concatenate this value to the default value, and the resulting full header value will be: 
ru,en;q=0.5,en;q=1which still prioritizes the ru locale.
Documentation on MQL5: Network Functions / WebRequest
Documentation on MQL5: Network Functions / WebRequest
  • www.mql5.com
WebRequest - Network Functions - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
 
Your topic has been moved to the section: Expert Advisors and Automated Trading