Internet Direct (Indy)
Home
PreviousUpNext
TIdCustomHTTP.MaxHeaderLines Property

Maximum number of header lines allowed in an HTTP response.

Pascal
property MaxHeaderLines: integer;

MaxHeaderLines is an Integer property that indicates the maximum number of header lines allowed when retrieving headers in an HTTP response. MaxHeaderLines is used to ignore server responses containing an inordinately large number of header lines (commonly referred to as "header bombing"). 

The default value for MaxHeaderLines is Id_TIdHTTP_MaxHeaderLines. The value in MaxHeaderLines can altered if you are experiencing header truncation with chatty servers. 

MaxHeaderLines is used as an argument when retrieving headers with the TIdHTTPProtocol instance used during HTTP protocol exchanges.

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.