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 headervalue will be: ru,en;q=0.5,en;q=1, which still prioritizes the ru locale.
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=1, which still prioritizes the ru locale.