Http module

version_name

procedureextensionexperimentalSource

The text of version as it appears in a start line, "HTTP/1.0" or "HTTP/1.1". The string is a constant.

Example↗
assert(version_name(.HTTP_1_0) == "HTTP/1.0");
assert(version_name(.HTTP_1_1) == "HTTP/1.1");
version_name :: (version: Version) -> string

Parameters

version: Version

Returns

string

See also