WCF Content-Length HTTP header on outbound message
问题 I'm in a tough situation in which a Java web service endpoint hosted on an IBM HTTP Server (IHS) requires a Content-Length header, although it supposedly conforms to HTTP/1.1. If I send the header, everything works. If I leave it off, I get a 500 error response informing me that my POST entity body was empty (even though it was not). We've invested significant time into our WCF client for these services (developed by a third party) and I can't seem to find a good way to append a Content