Skip to main content
Home Forums General Silverlight New Features in Silverlight 3 WebClient headers do not work on Safari (Mac)
2 replies. Latest Post by sebschmitt on July 3, 2009.
(0)
sebschmitt
Member
20 points
23 Posts
07-01-2009 7:33 AM |
Hi,
the following code does not append a header to the http request, if Silverlight 3 Beta runs in a Safari on a Mac:
WebClient currentWebClient = new WebClient();currentWebClient.Headers["somename"] = "somename;currentWebClient.UploadStringAsync(new Uri(urlString), "POST", poxDataString);
It runs fine in Firefox / Internet Explorer on Windows and Mac machines. I don't know, if this problem already existed in Silverlight 2, however I found a post which implies that: http://silverlight.net/forums/t/20191.aspx
Any ideas?
Best, Sebastian
07-02-2009 11:26 AM |
I tried to verify the error with a test app, however there it seems to work. I'll do further investigations.
07-03-2009 11:54 AM |
It seems like there is no problem with Silverlight, but some hackers trying to get unauthorized access to our web services caused exceptions that looked like there was no header sent from our Silverlight client.