How to set Accept-Language header on request from applet
Posted
by Jo
on Stack Overflow
See other posts from Stack Overflow
or by Jo
Published on 2009-11-04T09:37:37Z
Indexed on
2010/05/26
11:11 UTC
Read the original article
Hit count: 281
Hi,
I'm not familiar with Java but I need to make a request to a remote webservice from within my applet.
The webservice (.Net 1.1) uses HttpContext.Current.Request.UserLanguages[0]
to determine the language to use. But the value of this member is alway null.
So is there a way to pass the Accept-Language header along with something like "en-GB" set?
© Stack Overflow or respective owner