From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id A497BBCA8 for ; Thu, 31 Mar 2005 01:48:59 +0200 (CEST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j2UNmxqf000636 for ; Thu, 31 Mar 2005 01:48:59 +0200 Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id BAA16040 for ; Thu, 31 Mar 2005 01:48:59 +0200 (MET DST) Received: from postfix3-1.free.fr (postfix3-1.free.fr [213.228.0.44]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j2UNmwQZ000631 for ; Thu, 31 Mar 2005 01:48:58 +0200 Received: from [192.168.0.60] (lns-vlq-37-lyo-82-253-101-87.adsl.proxad.net [82.253.101.87]) by postfix3-1.free.fr (Postfix) with ESMTP id 726FB17349A for ; Thu, 31 Mar 2005 01:48:58 +0200 (CEST) Date: Thu, 31 Mar 2005 01:48:33 +0200 (CEST) From: Marc Herbert X-X-Sender: mherbert@fcat To: caml-list@inria.fr Subject: Re: [Caml-list] Re: Still problems with the main ocaml web page In-Reply-To: <424AFCD1.9080601@gmail.com> Message-ID: References: <20050330141949.67864.qmail@web50904.mail.yahoo.com> <20050330152901.GC18175@yquem.inria.fr> <424AFCD1.9080601@gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Miltered: at nez-perce with ID 424B3AEB.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 424B3AEA.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 ocaml:01 dimitri:01 ocaml:01 dimitri:01 wrote:01 wrote:01 workaround:01 workaround:01 reproduce:01 debian:02 languages:03 languages:03 seems:03 woody:03 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.2 X-Spam-Level: On Wed, 30 Mar 2005, Dimitri Timofeev wrote: > Xavier Leroy wrote: > > >Of course the new site was tested with IE, and it works just fine on > >my Windows installation. Something is happening that 1- we don't > >understand, and 2- we can't reproduce. Another user suggested this > >might have to do with language preferences in the browser, which could > >expose a problem in content (language) negociation between the browser > >and server. Any constructive advice on how to attack this problem is > >most welcome. > It seems that this problem may be related with Accept-Language HTTP > header what is set by browser according to the user language > preferences. I'm using Firefox 1.0.2 (Windows XP), and when I add > English or French to the list of preferred languages, OCaml site > works very well. But if I don't specify none of these, I get > 'unknown/unknown' content type. I just made a few tests and network captures and I confirm this accurate diagnostic with Firefox 1.0.3 on linux Debian woody as well as with Opera 7.54 on linux Fedora Core 2. Congratulations to Dimitri and others for finding out the issue so quickly. Great work. > As a workaround, it is easy to us users to set up our browsers to > request content in English or French in addition to our favorite > languages :). This workaround works not only for Mozilla Firefox, > but for MS IE too (at least version 6.0). Another workaround was fine for me: set up your browser with NO favorite language at all (and so no Accept-Language: header is sent at all). > Thank you for the excellent work you do! > OCaml is a very good and useful language, and new OCaml site looks > really nice! Agreed.