Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Re: Still problems with the main ocaml web page
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-03-30 (23:48)
From: Marc Herbert <marc.herbert.1@m...>
Subject: Re: [Caml-list] Re: Still problems with the main ocaml web page
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

> Thank you for the excellent work you do!
> OCaml is a very good and useful language, and new OCaml site looks
> really nice!