fix: spelling of header
This commit is contained in:
parent
e58123f496
commit
da219bd9f9
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ fn send_response(mut stream: TcpStream, status: u16, body: Body) -> UnitOrBoxedE
|
|||
response.push_str("Cache-Control: immutable, public, max-age=604800\r\n");
|
||||
// CORS
|
||||
response.push_str("Access-Control-Allow-Origin: *\r\n");
|
||||
response.push_str("Access-Control-Allow-Metods: GET\r\n");
|
||||
response.push_str("Access-Control-Allow-Methods: GET\r\n");
|
||||
response.push_str(&format!(
|
||||
"Content-Length: {}\r\n",
|
||||
match &body {
|
||||
|
|
Loading…
Reference in a new issue