Back to product page

HTTPversion property


Version of HTTP protocol that is sent to server.

Syntax

  • Basic
object.HTTPversion [= value]
The HTTPversion(object,value) syntax has these parts:
objectAn expression evaluating to an object of type wodHttpDLX.
valueA String value.

Remarks

Since not all HTTP servers support version 1.1 of the HTTP protocol, this property can be used to specify a lower version (or even greater) when establishing a connection with a server. However, different protocol versions mean a different flow of information, so the user is responsible for manually responding to any event that is not supported by version 1.1.

If a version lower than 1.1 is used, do not try to use pipelined requests (multiple requests on the same server without disconnecting), because unexpected results may occur.

Platforms

Windows