[Bug 10270] New: Wine gecko does not send HTTP Accept-Language header

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Nov 1 15:07:18 CDT 2007


http://bugs.winehq.org/show_bug.cgi?id=10270

           Summary: Wine gecko does not send HTTP Accept-Language header
           Product: Wine
           Version: CVS/GIT
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: wine-programs
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: thestig at google.com


Wine gecko does not send the HTTP Accept-Language header for HTTP requests.
This means for wine iexplore users, going to website that look for that header,
i.e. http://www.google.com/, will always return webpages in the web server's
default language choice rather than in the user's preferred language.

To see what headers a web browser is sending, go to:
http://schroepl.net/cgi-bin/http_trace.pl

Internet Explorer will send the string in HKCU\Software\Microsoft\Internet
Explorer\Internals\AcceptLanguage as the Accept-Language header.

With a clean .wine directory + gecko, Wine iexplore does not send anything.

I can change what Wine iexplore sends by adding:

user_pref("intl.accept_languages", "foo");

to prefs.js or user.js in ~/.wine/drive_c/windows/profiles/username/Application
Data/Mozilla/Profiles/MSHTML/hash/.

The ideal behavior would be: Wine iexplore should look in the same registry key
as IE, and that registry key should be properly initialized by
wineprefixcreate.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list