UYVBRR54GX45E4HT7ZGOQRPT73CYKQT3MYZT5PUJ7SRZRWTX2FWQC
out.write_all(
format!(
"{:?} {} {}\r\n",
resp.version(),
resp.status().as_u16(),
resp.status().as_str()
)
.as_bytes(),
)
.await?;
out.write_all(format!("{:?} {}", resp.version(), resp.status().as_u16(),).as_bytes())
.await?;
if let Some(reason) = resp.status().canonical_reason() {
out.write_all(format!(" {}", reason).as_bytes()).await?;
}
out.write_all(b"\r\n").await?;