Changed tab to space in header

This commit is contained in:
int 80h
2020-05-23 13:16:13 -04:00
parent 5060977fd9
commit d63152bc5b

View File

@@ -27,7 +27,7 @@ impl Connection {
Some(m) => m, Some(m) => m,
None => &stat.to_str(), None => &stat.to_str(),
}; };
self.send_raw(format!("{}\t{}\r\n", stat as u8, meta).as_bytes()) self.send_raw(format!("{} {}\r\n", stat as u8, meta).as_bytes())
.await?; .await?;
if let Some(b) = body { if let Some(b) = body {
self.send_raw(b.as_bytes()).await?; self.send_raw(b.as_bytes()).await?;