Topic Path: Symbol Reference > Classes > TIdHTTPResponseInfo Class > TIdHTTPResponseInfo Properties > HeaderHasBeenWritten Property
TIdHTTPResponseInfo.HeaderHasBeenWritten Property

Indicates that headers have been written in the HTTP response.

property HeaderHasBeenWritten: Boolean;

HeaderHasBeenWritten is a Boolean property that indicates headers have already been written in the HTTP response. 

HeaderHasBeenWritten is used in WriteHeader to prevent duplication of header values for the HTTP response. HeaderHasBeenWritten is also checked when a session for a client connection needs to write a HTTP response in the TIdHTTPServer.OnExecute event handler.



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