HTLoadToChunk problem
"Ivan Tarapov" <[email protected]> Thu, 1 Dec 2005 16:56:13 +0200
| Newsgroups | gmane.comp.lib.libwww |
|---|---|
| Message-ID | <[email protected]> |
Hi, I am using such call: chunk = HTLoadToChunk(sCallRequest.c_str(), request); If I set sCallRequest to be http://www.google.com <http://www.google.com/> , the load fails with the message in trace: TRACE: Error....... Add 74 Severity: 1 Parameter: `http' HTProtocol_find' TRACE: Net Object.. NO PROTOCOL Object found for URI scheme `http' If I set sCallRequest to be www.google.com <http://www.google.com/> , the load also fails with trace message TRACE: HTAccess.... Accessing document www.google.com TRACE: Error....... Add 74 Severity: 1 Parameter: `' Where: `HTProtocol_find' TRACE: Net Object.. NO PROTOCOL Object found for URI scheme `' What's the problem? What should I pass to HTLoadToChunk in order to access www.google.com <http://www.google.com/> ? There's another question I've got: apparently, there's an error happening while accessing the URI. How can I determine what type of error is that and print my own custom message, just like the trace does? Best Regards, Ivan