Topic Path: Symbol Reference > Classes > TIdResponseHeaderInfo Class > TIdResponseHeaderInfo Methods > Clear Method
ContentsIndexHome
PreviousUpNext
TIdResponseHeaderInfo.Clear Method

Resets response header properties to their default values.

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').

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.