caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Dimitri Timofeev <dimitri.timofeev@gmail.com>
To: Xavier Leroy <Xavier.Leroy@inria.fr>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Re: Still problems with the main ocaml web page
Date: Wed, 30 Mar 2005 23:24:01 +0400	[thread overview]
Message-ID: <424AFCD1.9080601@gmail.com> (raw)
In-Reply-To: <20050330152901.GC18175@yquem.inria.fr>

Hello!

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.

It seems that caml.inria.fr web server can't handle the situation where 
none of supported
languages (English, French) is specified in Accept-Language header. 
Maybe the best solution
would be to change web server configuration and to make it behave just 
like Accept-Language="en"
when Accept-Language is not specified or does not contain 'en' nor 'fr'.

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).

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

-- 
Dimitri


  reply	other threads:[~2005-03-30 19:24 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-30 14:19 Martin Sandin
2005-03-30 15:01 ` [Caml-list] " Yaron Minsky
2005-03-30 15:11 ` Christopher Campbell
2005-03-30 15:29 ` Xavier Leroy
2005-03-30 19:24   ` Dimitri Timofeev [this message]
2005-03-30 23:48     ` Marc Herbert
2005-03-30 20:30   ` Eijiro Sumii
2005-03-30 20:38     ` webmaster@caml.inria.fr is not a "legal" mail address (Re: [Caml-list] Re: Still problems with the main ocaml web page) Eijiro Sumii
2005-03-31 12:21       ` Francis Dupont
2005-03-31 13:05         ` webmaster@caml.inria.fr is not a "legal" mail address Eijiro Sumii
2005-03-31 13:35           ` Francis Dupont
2005-03-31 18:37             ` [OT] " Eijiro Sumii
2005-03-31 20:08               ` Eijiro Sumii
2005-03-31 10:35 [Caml-list] Re: Still problems with the main ocaml web page Martin Sandin
2005-03-31 12:14 ` Maxence Guesdon
2005-03-31 18:58   ` Eijiro Sumii
2005-03-31 19:28 Martin Sandin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=424AFCD1.9080601@gmail.com \
    --to=dimitri.timofeev@gmail.com \
    --cc=Xavier.Leroy@inria.fr \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).