views:

234

answers:

1

I want the Silverlight 4.0 client to ignore '100-continue' response code from a RESTful resource service, to do this i need to be able to set the Expect header - ' Expect: 100-continue' is this possible with the HttpWebRequest class?

All the normal ways of doing this are not supported in Silverlight 4.0.

A: 

Can you look at the Silverlight security policy? You have to add the "Expect" header to the list of allowed headers in you clientaccesspolicy.xml. Give that a try.

feroze
the client access policy file already has the wildcard to allow all headers with - http-request-headers="*"
AWC