Internet Direct (Indy) Version 9.0.1 Beta
|
constructor Create(AConnection: TIdTCPServerConnection);
Create sets ContentLength to the value specified in GFContentLength, and ContentType to the value in GContentType. The RawHeaders property is updated to not fold long lines for clients that may not support the feature. ServerSoftware is initialized to the values specified in GServerSoftware.
Create sets the connection used for the HTTP resonse to the value referenced in AConnection, and ResponseNo uses the default value from GResponseNo.
Create also allocates resources needed for the Cookies property.