PyHINTERNET = InternetOpenUrl(Internet, Url
, Headers
, Flags
, Context
)
Opens a resource specified by a
complete FTP, Gopher, or HTTP URL.
Parameters
Internet : PyHINTERNET
Internet handle as returned by win32inet::InternetOpenUrl : string
A string that contains the URL to begin reading. Only URLs beginning with ftp:, gopher:, http:, or https: are supported.Headers=None : string
a string variable that contains the headers to be sent to the HTTP server.
Flags=0 : int
INTERNET_FLAG_*
Context=None : object
An arbitrary object to be passed to the status callback function
Comments
Accepts keyword args.
Return Value
Returns None in async mode (Internet handle created with INTERNET_FLAG_ASYNC).
When handle is created, it will be passed to callback function of parent handle.