Webs_http11.VersionVersion codec.
val decode : string -> (Webs.Http.Version.t, string) Stdlib.resultdecode s decodes a version in HTTP/1.1 syntax from s. Single digit versions are also parsed, some serializations (e.g. the curl tool) do that.
val encode : Webs.Http.Version.t -> stringencode v encodes the version v in HTTP/1.1 syntax. Assumes correct integer ranges.