a***@gmail.com
2015-05-06 06:24:18 UTC
Hi guys,
I've been working on a .NET 3.5 app for xbox 360. I'm getting error while setting the Accept-Language Header for a web request.
HttpWebRequest webRequest = WebRequest.CreateHttp(url);
webRequest.Headers["Accept-Language"] = "de-de";
This throws ArguementException. What am I doing wrong.
I've been working on a .NET 3.5 app for xbox 360. I'm getting error while setting the Accept-Language Header for a web request.
HttpWebRequest webRequest = WebRequest.CreateHttp(url);
webRequest.Headers["Accept-Language"] = "de-de";
This throws ArguementException. What am I doing wrong.