What would the as_str return? There's an official string representation for HTTP/1.0 and 1.1, but the others are not printed as strings in their protocols.
You are right, but it's not convenient when I want to export the Version string form to some places.
I think the output format is like HTTP/x.x.
(Perhaps this is my personal needs😂)
What would the
as_str
return? There's an official string representation for HTTP/1.0 and 1.1, but the others are not printed as strings in their protocols.