From: Marziou, G. <gae...@hp...> - 2005-03-09 10:53:40
|
The ones used by the browser to fill up the HTTP Accept-language header in request, so the first one in your question. Please note that I used plural (i.e. the preferred languages), so it should be an ordered list of locales with weights as in a browser. Gael =20 > -----Original Message----- > From: htm...@li...=20 > [mailto:htm...@li...] On Behalf=20 > Of Marc Guillemot > Sent: 09 March, 2005 11:46 > To: htm...@li... > Subject: Re: [Htmlunit-user] How to configure my preferred=20 > languages in WebClient? >=20 > What do you mean with preferred language? The one sent as=20 > http header or the one of the browser available in javascript=20 > or even the one of the OS available in javascript as well? >=20 > Marc. >=20 > Marziou, Gael wrote: > > Hello, > >=20 > > I'm using 1.4 and I was not able to find a way to specify=20 > my preferred=20 > > languages in WebClient. > > This is preventing from testing internationalized web applications. > >=20 > > Am I wrong or should I submit a feature request? > >=20 > > Thanks, > >=20 > > Gael > >=20 > >=20 > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide Read honest=20 > & candid=20 > > reviews on hundreds of IT Products from real users. > > Discover which products truly live up to the hype. Start=20 > reading now. > > http://ads.osdn.com/?ad_ide95&alloc_id=14396&op=3Dclick > > _______________________________________________ > > Htmlunit-user mailing list > > Htm...@li... > > https://lists.sourceforge.net/lists/listinfo/htmlunit-user > >=20 >=20 >=20 >=20 > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide Read honest &=20 > candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=3D6595&alloc_id=3D14396&op=3Dclick > _______________________________________________ > Htmlunit-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlunit-user >=20 |
From: Marc G. <mgu...@ya...> - 2005-03-09 11:00:04
|
Currently this is not directly supported by htmlunit but you should be able to add the header your self using WebClient.addRequestHeader. I think that this is a feature that htmlunit should have. Feel free to open a RFE for this. Marc. Marziou, Gael wrote: > The ones used by the browser to fill up the HTTP Accept-language header > in request, so the first one in your question. > > Please note that I used plural (i.e. the preferred languages), so it > should be an ordered list of locales with weights as in a browser. > > > Gael > > > >>-----Original Message----- >>From: htm...@li... >>[mailto:htm...@li...] On Behalf >>Of Marc Guillemot >>Sent: 09 March, 2005 11:46 >>To: htm...@li... >>Subject: Re: [Htmlunit-user] How to configure my preferred >>languages in WebClient? >> >>What do you mean with preferred language? The one sent as >>http header or the one of the browser available in javascript >>or even the one of the OS available in javascript as well? >> >>Marc. >> >>Marziou, Gael wrote: >> >>>Hello, >>> >>>I'm using 1.4 and I was not able to find a way to specify >> >>my preferred >> >>>languages in WebClient. >>>This is preventing from testing internationalized web applications. >>> >>>Am I wrong or should I submit a feature request? >>> >>>Thanks, >>> >>>Gael >>> >>> >>>------------------------------------------------------- >>>SF email is sponsored by - The IT Product Guide Read honest >> >>& candid >> >>>reviews on hundreds of IT Products from real users. >>>Discover which products truly live up to the hype. Start >> >>reading now. >> >>>http://ads.osdn.com/?ad_ide95&alloc_id396&op=click >>>_______________________________________________ >>>Htmlunit-user mailing list >>>Htm...@li... >>>https://lists.sourceforge.net/lists/listinfo/htmlunit-user >>> >> >> >> >>------------------------------------------------------- >>SF email is sponsored by - The IT Product Guide Read honest & >>candid reviews on hundreds of IT Products from real users. >>Discover which products truly live up to the hype. Start reading now. >>http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >>_______________________________________________ >>Htmlunit-user mailing list >>Htm...@li... >>https://lists.sourceforge.net/lists/listinfo/htmlunit-user >> > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id396&op=click > _______________________________________________ > Htmlunit-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlunit-user > |