From: Daniel Carl Date: Sun, 2 Jun 2013 12:49:00 +0000 (+0200) Subject: Send language header with requests. X-Git-Url: https://git.owens.tech/wrapped.html/wrapped.html/git?a=commitdiff_plain;h=fb0a887e3710db20125f7934b7691bf0445ae0a5;p=vimb.git Send language header with requests. This will help the webserver to send this right content. --- diff --git a/src/session.c b/src/session.c index 0952e34..632ced1 100644 --- a/src/session.c +++ b/src/session.c @@ -59,6 +59,7 @@ void session_init(void) vb.session = webkit_get_default_session(); g_object_set(vb.session, "max-conns", SETTING_MAX_CONNS , NULL); g_object_set(vb.session, "max-conns-per-host", SETTING_MAX_CONNS_PER_HOST, NULL); + g_object_set(vb.session, "accept-language-auto", true, NULL); #ifdef FEATURE_COOKIE soup_session_add_feature(