RAD Studio VCL Reference
TWebRequest.ProtocolVersion Property

Reports the version number of the HTTP protocol specified in the initial header of the HTTP request message.

property ProtocolVersion: AnsiString;
__property AnsiString ProtocolVersion;

Use ProtocolVersion to determine the protocol used by the Web client when generating the HTTP request message.  

Some properties of the HTTP request may be interpreted differently depending on the ProtocolVersion. For example, if ProtocolVersion is 1.0, then the connection should not be considered persistent, even if the Connection property does not specify the close option. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!