I added a new MessageInspector to my Wcf client runtime (in sl4) to intercept all the replies from the server, and then gain access to http headers.
public void AfterReceiveReply(ref Message reply, object correlationState)
var httpResponse = (HttpResponseMessageProperty)reply.Properties[HttpResponseMessageProperty.Name];
var httpHeaders = httpResponse.Headers.AllKeys;
It works fine but i don't see any Set-Cookie header in the reply whereas in Fiddler it appears to be here ???
In the httpHeaders variable above there are for example headers like : Cache-Control, Content-Length, Content-Type, X-Powered-By etc..
Do you know why the Set-Cookie http header is not return ?
Thanks in advance