HTTP::version¶
Description¶
Returns or sets the HTTP version of the request or response. This
command replaces the BIG-IP 4.X variable http_version.
If needed, Connection and Host headers will automatically be
added appropriately.
Note: HTTP::version will return the original version of the
request or response, even if it has been used to change it.
Syntax¶
HTTP::version ["0.9" | "1.0" | "1.1"]
HTTP::version -string
HTTP::version [“0.9” | “1.0” | “1.1”]¶
- Returns or sets the HTTP version of the request or response. The versions “2.0” and “3.0” can be returned but not set.