WCF IClientMessageInspector and the incoming SOAP headers
问题 I'm responsible for updating a client-side API using WCF. This is because of changes to the API on the server (an outside company). When I get the response, my client-side throws an exception. Using Fiddler, I came up with the following problem: a duplicate Content-Type. HTTP/1.1 200 OK Date: Thu, 05 Jan 2012 21:15:16 GMT Connection: close Content-Type: text/xml; charset=utf-8 Content-Type: text/xml; charset=UTF-8 Content-Length: 538 ... Using Fiddler, I removed the extra Content-Type, and