Win2k seems to be the only platform that follows what msdn says (see http://msdn.microsoft.com/en-us/library/aa384247(VS.85).aspx). Perhaps passing header's length to HttpSendRequest instead of adding a broken expected value would be better. Let me know. Nicolas Le Cam