CHttpFile* OpenRequest//no HTTP header is specified. 是啥意思啊解决思路

CHttpFile* OpenRequest//no HTTP header is specified. 是啥意思啊?
本帖最后由 oyljerry 于 2013-06-21 21:45:14 编辑


CHttpFile* OpenRequest(
   LPCTSTR pstrVerb,
   LPCTSTR pstrObjectName,
   LPCTSTR pstrReferer = NULL,
   DWORD_PTR dwContext = 1,
   LPCTSTR* ppstrAcceptTypes = NULL,
   LPCTSTR pstrVersion = NULL,
   DWORD dwFlags = INTERNET_FLAG_EXISTING_CONNECT 
);



//no HTTP header is specified. 是啥意思啊???????

pstrReferer 
A pointer to a string that specifies the address (URL) of the document from which the URL in the request (pstrObjectName) was obtained. If NULL, no HTTP header is specified. 

------解决方案--------------------
没有设置refer,参考一下HTTP协议