void SoupNetworkSession::setAcceptLanguages(const Vector<String>& languages) { g_object_set(m_soupSession.get(), "accept-language", buildAcceptLanguages(languages).data(), nullptr); }
static void setSoupSessionAcceptLanguage(Vector<String> languages) { g_object_set(WebCore::ResourceHandle::defaultSession(), "accept-language", buildAcceptLanguages(languages).data(), NULL); }