projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
273f35c
)
Some servers need accept-language header
author
Jamie Cameron
<jcameron@webmin.com>
Wed, 16 Jun 2010 19:36:43 +0000
(12:36 -0700)
committer
Jamie Cameron
<jcameron@webmin.com>
Wed, 16 Jun 2010 19:36:43 +0000
(12:36 -0700)
web-lib-funcs.pl
patch
|
blob
|
history
diff --git
a/web-lib-funcs.pl
b/web-lib-funcs.pl
index
ba2e76a
..
bae275a
100755
(executable)
--- a/
web-lib-funcs.pl
+++ b/
web-lib-funcs.pl
@@
-2012,6
+2012,7
@@
if ($cfile && !$nocache) {
my @headers;
push(@headers, [ "Host", $host ]);
push(@headers, [ "User-agent", "Webmin" ]);
+push(@headers, [ "Accept-language", "en" ]);
if ($user) {
my $auth = &encode_base64("$user:$pass");
$auth =~ tr/\r\n//d;