Dear Parham, Since HtmlUnit 2.5, "Accept-Language" header is automatically set to "en", instead of not being defined, you should be able to change it to anything needed.
Yours, Ahmed Parham, Clinton wrote: > Hello, > > In the 2.2 release, I’m noticing that the server-side locale is no longer > being reported as ‘en_US’. > > IE and FF send the locale as ‘en_US’ but I’m now getting ‘en’ from JWebUnit > tests. Why is this? All code is running on the same Windows box.. > > Thank you. > > The contents contained herein may contain confidential information. If you > are not the intended recipient, you are hereby notified that any disclosure, > copying, distribution, printing or action taken on the contents > is strictly prohibited. If you have received this email in error, please > notify the sender immediately and delete this message. ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ JWebUnit-users mailing list JWebUnit-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jwebunit-users