TWinInet.ContentType
| TWinInet = class (TObject) | Interface de TWinInet | Exemples de TWinInet |
Qubes 6.0 Renvoie le type MIME de la réponse HTTP
Syntaxe
function ContentType(): String
Remarques
Renvoie le type MIME de la réponse HTTP.
Exemples
var inet := new TWinInet;
inet.GetRequest('http://www.google.fr');
Print(inet.ContentType); // renvoie 'text/html; charset=UTF-8'
inet.GetRequest('http://www.google.fr');
Print(inet.ContentType); // renvoie 'text/html; charset=UTF-8'