Fixed server for chrome
This commit is contained in:
parent
50bb519ac0
commit
a2104976ef
@ -265,9 +265,9 @@ impl Context {
|
||||
}
|
||||
}
|
||||
|
||||
let _ = write!(stream, "HTTP/1.1 200 OK\r\n\r\n");
|
||||
|
||||
let _ = writeln!(stream, "<meta charset=\"utf-8\">");
|
||||
let _ = write!(stream, "HTTP/1.1 200 OK\r\n");
|
||||
let _ = write!(stream, "Content-Type: text/html; charset=\"utf-8\"\r\n");
|
||||
let _ = write!(stream, "\r\n");
|
||||
|
||||
let _ = writeln!(
|
||||
stream,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user