Internet Direct (Indy)
Home
PreviousUpNext
TIdResponseHeaderInfo.Clear Method

Resets response header properties to their default values.

Pascal
procedure Clear; override;

Clear is an overridden procedure in TIdResponseHeaderInfo. Clear calls the inherited Clear method. Clear resets the following properties to their default empty values, including: 

 

Property 
Value 
'text/html' 
'' (empty string) 
'' (empty string) 

 

Clear also resets the values in the ProxyAuthenticate and WWWAuthenticate properties by calling their respective Clear methods. 

The value of the ContentType property is set to the default MIME type and subtype for HTTP responses ('text/html').

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.