wininet
-
hello i'm working with wininet and i want to get the header of http querries. i can get the html source code, but no the header. thx
Isn't that how it's supposed to work? If you want the header also, perhaps you should instead use plain sockets.
-
hello i'm working with wininet and i want to get the header of http querries. i can get the html source code, but no the header. thx
-
Try.. BOOL HttpQueryInfo( HINTERNET hRequest, DWORD dwInfoLevel, LPVOID lpvBuffer, LPDWORD lpdwBufferLength, LPDWORD lpdwIndex ); and set dwInfoLevel to HTTP_QUERY_RAW_HEADERS or HTTP_QUERY_RAW_HEADERS_CRLF. You can se more on this function in MSDN
-
If you get error code 87 (witch is ERROR_INVALID_PARAMETER) when calling GetLastError(), this meen that you pass some invalid argument to this function.