projects
/
vimb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4b65a2
)
Send language header with requests.
author
Daniel Carl
<danielcarl@gmx.de>
Sun, 2 Jun 2013 12:49:00 +0000
(14:49 +0200)
committer
Daniel Carl
<danielcarl@gmx.de>
Sun, 2 Jun 2013 12:49:00 +0000
(14:49 +0200)
This will help the webserver to send this right content.
src/session.c
patch
|
blob
|
history
diff --git
a/src/session.c
b/src/session.c
index
0952e34
..
632ced1
100644
(file)
--- 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(