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