mirror of
https://github.com/status-im/nim-http-utils.git
synced 2026-08-30 20:11:06 +00:00
Can't add HTTP/3 without breaking things due to `enum` so take the opportunity to model the version number closer to how RFC 9110 defines it: * major.minor number instead of `enum`, to make room for a future 4 * 0 is implied (and customary for HTTP/2, HTTP/3) * don't parse 2.0 - there's no such version defined by RFC 9112 and the actual HTTP/2 uses a different encoding altogether