http InternetOptions property
Return to Introduction  Previous page  Next page
Applies to
WinHTTP component.  

Declaration
type  
  TWinInternetOption = (ioIgnoreCertificateInvalid, ioIgnoreCertificateDateInvalid,  
                       ioIgnoreRedirectToHTTP, ioIgnoreRedirectToHTTPS,  
                       ioKeepConnection, ioNoAuthentication,  
                       ioNoAutoRedirect, ioNoCookies);  
  TWinInternetOptions := set of TWinInternetOption;  
 
property InternetOptions: TWinInternetOptions;  

Description
The InternetOptions property is the set of options used to specify some behaviors of WinHTTP component.  
 
The property is set of following options:  
ValueMeaning  
ioIgnoreCertificateInvalidDisables checking of SSL/PCT-based certificates that are returned from the server against the host name given in the request. WinINet functions use a simple check against certificates by comparing for matching host names and simple wildcarding rules;  
ioIgnoreCertificateDateInvalidDisables checking of SSL/PCT-based certificates for proper validity dates;  
ioIgnoreRedirectToHTTPDisables detection of this special type of redirect. When this flag is used, WinINet functions transparently allow redirects from HTTPS to HTTP URLs;  
ioIgnoreRedirectToHTTPSDisables detection of this special type of redirect. When this flag is used, WinINet functions transparently allow redirects from HTTP to HTTPS URLs;  
ioKeepConnectionUses keep-alive semantics, if available, for the connection. This flag is required for Microsoft Network (MSN), NT LAN Manager (NTLM), and other types of authentication;  
ioNoAuthenticationDoes not attempt authentication automatically;  
ioNoAutoRedirectDoes not automatically handle redirection;  
ioNoCookiesDoes not automatically add cookie headers to requests, and does not automatically add returned cookies to the cookie database.  

See also
CacheOptions property;  
Read method;  
OnHeaderInfo, OnRedirected and OnProxyAuthenticationRequest events.