http2: do not have leading space for response line

Ticket: 6547
pull/10043/head
Philippe Antoine 1 year ago committed by Victor Julien
parent 75471dd69b
commit 1b5e04bee3

@ -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)

Loading…
Cancel
Save