我正在尝试使用此方法:
GeckoMIMEInputStream postdata = new GeckoMIMEInputStream();
postdata.AddHeader("Accept-Language", "ru,en-us;q=0.7,en;q=0.3");
browser.Navigate(someurl, flags, referer, postData);
但它将“ru,en-us; q = 0.7,en; q = 0.3”添加到已存在的“Accept-Language”字符串中!如何覆盖?
答案 0 :(得分:1)
我找到了,改变了accept_languages:
GeckoPreferences.User["intl.accept_languages"] = "ru";