Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 35304 invoked from network); 8 Dec 2006 20:00:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Dec 2006 20:00:46 -0000 Received: (qmail 61012 invoked by uid 500); 8 Dec 2006 20:00:49 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 60963 invoked by uid 500); 8 Dec 2006 20:00:48 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 60952 invoked by uid 99); 8 Dec 2006 20:00:48 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Dec 2006 12:00:48 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of jslive@gmail.com designates 66.249.82.232 as permitted sender) Received: from [66.249.82.232] (HELO wx-out-0506.google.com) (66.249.82.232) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Dec 2006 12:00:38 -0800 Received: by wx-out-0506.google.com with SMTP id h26so992121wxd for ; Fri, 08 Dec 2006 12:00:17 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=RcWEg/vQVWK1QfP5JoZ2mPFa1XVmwJSj94RDypxwlNx9PAlBUaY1Gd70YEBNLR3rP0yjo2+8dx07O6+S6N1zWeiOXhPIX48xiz3/UCo8M41SaiqAKrFVhzsVP0xgMgWlm3USSUVrvdonrkPCdv4hIhFyGg5XWAJVPbls94qeuX4= Received: by 10.70.44.4 with SMTP id r4mr6621624wxr.1165608017485; Fri, 08 Dec 2006 12:00:17 -0800 (PST) Received: by 10.70.20.4 with HTTP; Fri, 8 Dec 2006 12:00:16 -0800 (PST) Message-ID: Date: Fri, 8 Dec 2006 15:00:16 -0500 From: "Joshua Slive" Sender: jslive@gmail.com To: dev@httpd.apache.org Subject: IE7 wrecks language negotiation MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: b9c96d8847e05fb2 X-Virus-Checked: Checked by ClamAV on apache.org Following up on a question on the users list, I found this blog entry: http://blogs.msdn.com/ie/archive/2006/10/17/accept-language-header-for-internet-explorer-7.aspx which says that IE7 now uses only "language/locale pairs" in the Accept-Language header. They follow this up with: "If a given server is only interested in the user's language and not the locale, it can ignore the locale portion by simply truncating the code at the first dash." This tells server to ignore RFC2616 section 14.4 if they wish to work with IE7. The effect of this is that users who specify more than one acceptable language in IE7 aren't going to get the one they really prefer in many cases when working with HTTP/1.1 compliant servers (like apache httpd). (If only one language is selected, things should work okay because we added a work-around for this in 2.0. But it is impossible to work-around the problem with multiple languages and still follow the RFC.) It would be possible to add a BrowserMatch-settable variable to do the HTTP-breaking recommended by Microsoft, but I don't know if it is worth it. Joshua.