pub fn request_line_with_version(
method: &str,
path: &str,
version: &str,
) -> StringExpand description
Build a request line using a specific HTTP version string. Some
parsers honor HTTP/0.9 (no headers, no status line on response).
Some accept HTTP/2.0 as a version on the wire even when the
transport is HTTP/1.1.