AddRequestHeaders question

Giganews Newsgroups
Subject: AddRequestHeaders question
Posted by:  Dave Farquharson (gamerfarquhars…
Date: Mon, 29 Sep 2008


I am pretty new to the HttpFile class and its use. I am using
CHttpFile::AddRequestHeaders(), one of which has to be a SOAPAction. The problem I have is
that the action must be null. Adding the "Content-Type" and "Content-Length" headers
succeeds but doing a


fails with a ERROR_HTTP_HEADER_NOT_FOUND error.

Any ideas to help? I'm confused and trusty Google hasn't helped me out yet. I've tried a
few combos of ADDREQ flags and played with the text (like adding a space before CR/LF,