Internet Direct (Indy) Version 9.0.2 Beta
TIdHTTPRequestInfo.PostStream
Stream used to pass data from a client POST request.

property PostStream: TStream;
Description
PostStream is a TStream property that represents the stream containing the data to be sent in the TIdHTTPRequestInfo used in the request for a threaded client connection. PostStream is used in TIdHTTPServer when the client thread is executed. PostStream may contain a reference to an exising stream, or may be implicitly created for the executing client thread.

When the request from the client connection has a non-zero ContentLength, PostStream is used to read the indicated number of bytes. Otherwise, all data is read into PostStream until the client connection is closed.

If the stream is created during execution of the client thread, the contents of PostStream are added to the TIdHTTPRequestInfo.UnparsedParams property for the client request.