Web.HTTPApp.TWebRequest.ProtocolVersion

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ProtocolVersion: string index 1 read GetStringVariable;

C++

__property System::UnicodeString ProtocolVersion = {read=GetStringVariable, index=1};

Properties

Type Visibility Source Unit Parent
property public
Web.HTTPApp.pas
Web.HTTPApp.hpp
Web.HTTPApp TWebRequest

Description

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

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.

See Also