object = InternetQueryOption(hInternet, Option )
Retrieves an option for an internet handle
Option | Returned type |
INTERNET_OPTION_CALLBACK | Python callback function |
INTERNET_OPTION_CONTEXT_VALUE | Context object |
INTERNET_OPTION_SEND_TIMEOUT | Int - timeout in millseconds |
INTERNET_OPTION_CONTROL_SEND_TIMEOUT | Int - timeout in millseconds |
INTERNET_OPTION_RECEIVE_TIMEOUT | Int - timeout in millseconds |
INTERNET_OPTION_CONTROL_RECEIVE_TIMEOUT | Int - timeout in millseconds |
INTERNET_OPTION_CODEPAGE | Int - Codepage of host part of URL |
INTERNET_OPTION_CODEPAGE_PATH | Int - Codepage for URL |
INTERNET_OPTION_CODEPAGE_EXTRA | Int - Codepage for path part of URL |
INTERNET_OPTION_CONNECT_RETRIES | Int - Number of time to try to reconnect to host |
INTERNET_OPTION_CONNECT_TIMEOUT | Int - Connection timeout in milliseconds |
INTERNET_OPTION_CONNECTED_STATE | Int - Connection state, INTERNET_STATE_* |
INTERNET_OPTION_HANDLE_TYPE | Int, INTERNET_HANDLE_TYPE_* |
INTERNET_OPTION_ERROR_MASK | Int, combination of INTERNET_ERROR_MASK_* |
INTERNET_OPTION_EXTENDED_ERROR | Int, ERROR_INTERNET_* |
INTERNET_OPTION_FROM_CACHE_TIMEOUT | Int - Timeout in ms before cached copy is used |
INTERNET_OPTION_IDN | Int, INTERNET_FLAG_IDN_* |
INTERNET_OPTION_MAX_CONNS_PER_1_0_SERVER | Int |
INTERNET_OPTION_MAX_CONNS_PER_SERVER | Int |
INTERNET_OPTION_READ_BUFFER_SIZE | Int |
INTERNET_OPTION_WRITE_BUFFER_SIZE | Int |
INTERNET_OPTION_REQUEST_FLAGS | Int, combination of INTERNET_REQFLAG_* |
INTERNET_OPTION_REQUEST_PRIORITY | Int |
INTERNET_OPTION_SECURITY_FLAGS | Int, SECURITY_FLAG_* |
INTERNET_OPTION_SECURITY_KEY_BITNESS | Int |
INTERNET_OPTION_BYPASS_EDITED_ENTRY | Boolean |
INTERNET_OPTION_HTTP_DECODING | Boolean |
INTERNET_OPTION_IGNORE_OFFLINE | Boolean |
INTERNET_OPTION_DATAFILE_NAME | String - Name of internet cache file |
INTERNET_OPTION_USERNAME | String - Username passed to InternetConnect |
INTERNET_OPTION_PASSWORD | String - Password passed to InternetConnect |
INTERNET_OPTION_PROXY_PASSWORD | String |
INTERNET_OPTION_PROXY_USERNAME | String |
INTERNET_OPTION_SECONDARY_CACHE_KEY | String |
INTERNET_OPTION_SECURITY_CERTIFICATE | String |
INTERNET_OPTION_URL | String |
INTERNET_OPTION_USER_AGENT | String |
INTERNET_OPTION_CACHE_TIMESTAMPS | dict - Expiration and last modified times |
INTERNET_OPTION_HTTP_VERSION | dict - HTTP_VERSION_INFO |
INTERNET_OPTION_VERSION | dict - INTERNET_VERSION_INFO |
INTERNET_OPTION_PARENT_HANDLE | PyHINTERNET |
INTERNET_OPTION_PROXY | dict - INTERNET_PROXY_INFO |
INTERNET_OPTION_DIAGNOSTIC_SOCKET_INFO | Not yet supported (INTERNET_DIAGNOSTIC_SOCKET_INFO) |
INTERNET_OPTION_PER_CONNECTION_OPTION | Not yet supported (INTERNET_PER_CONN_OPTION_LIST) |
INTERNET_OPTION_SECURITY_CERTIFICATE_STRUCT | Not yet supported (INTERNET_CERTIFICATE_INFO) |
INTERNET_OPTION_ALTER_IDENTITY | Not supported |
INTERNET_OPTION_ASYNC | Not supported |
INTERNET_OPTION_ASYNC_ID | Not supported |
INTERNET_OPTION_ASYNC_PRIORITY | Not supported |
INTERNET_OPTION_CACHE_STREAM_HANDLE | Not supported |
INTERNET_OPTION_CALLBACK_FILTER | Not supported |
INTERNET_OPTION_CLIENT_CERT_CONTEXT | Not supported |
INTERNET_OPTION_DATA_RECEIVE_TIMEOUT | Not supported |
INTERNET_OPTION_DATA_SEND_TIMEOUT | Not supported |
INTERNET_OPTION_CONNECT_BACKOFF | Not supported |
INTERNET_OPTION_CONNECT_TIME | Not supported |
INTERNET_OPTION_DISABLE_AUTODIAL | Not supported |
INTERNET_OPTION_DISCONNECTED_TIMEOUT | Not supported |
INTERNET_OPTION_IDENTITY | Not supported |
INTERNET_OPTION_IDLE_STATE | Not supported |
INTERNET_OPTION_KEEP_CONNECTION | Not supported |
INTERNET_OPTION_LISTEN_TIMEOUT | Not supported |
INTERNET_OPTION_OFFLINE_MODE | Not supported |
INTERNET_OPTION_OFFLINE_SEMANTICS | Not supported |
INTERNET_OPTION_POLICY | Not supported |
INTERNET_OPTION_RECEIVE_THROUGHPUT | Not supported |
INTERNET_OPTION_REMOVE_IDENTITY | Not supported |
INTERNET_OPTION_SEND_THROUGHPUT | Not supported |
INTERNET_OPTION_DATAFILE_EXT | Only valid for InternetSetOption |
INTERNET_OPTION_DIGEST_AUTH_UNLOAD | Only valid for InternetSetOption |
INTERNET_OPTION_END_BROWSER_SESSION | Only valid for InternetSetOption |
INTERNET_OPTION_REFRESH | Only valid for InternetSetOption |
INTERNET_OPTION_RESET_URLCACHE_SESSION | Only valid for InternetSetOption |
INTERNET_OPTION_SETTINGS_CHANGED | Only valid for InternetSetOption |