Internet Direct (Indy) Version 9.0.1 Beta
TIdResponseHeaderInfo.ProcessHeaders
Loads headers values into their object properties.

procedure ProcessHeaders; override;
Description
ProcessHeaders is an overridden procedure that load the header names and values in Headers into their corresponding object properties. RawHeaders is updated to contain the initial data in Headers. Values in Headers are assigned to the corresponding property, and subsequently removed the TIdHeaderList.

ProcessHeaders determines the values for ContentRangeStart and ContentRangeEnd when Headers contains the 'Range' header. ProcessHeaders also adds the 'WWW-Authenticate' header to the WWWAuthenticate object property, and the 'Proxy-Authenticate' header to the ProxyAuthenticate object property.

ProcessHeaders calls the inherited ProcessHeaders method to allow handing of Entity headers, and headers that are stored in ExtraHeaders.