diff --git a/rust/src/http2/detect.rs b/rust/src/http2/detect.rs index 1c595a0cb0..53258b3aa7 100644 --- a/rust/src/http2/detect.rs +++ b/rust/src/http2/detect.rs @@ -545,7 +545,7 @@ fn http2_tx_get_resp_line(tx: &mut HTTP2Transaction) { } else { &empty }; - resp_line.extend(b" HTTP/2 "); + resp_line.extend(b"HTTP/2 "); resp_line.extend(status); resp_line.extend(b"\r\n"); tx.resp_line.extend(resp_line)