feat: remove unupdated version from headers
This commit is contained in:
parent
d8f5302c08
commit
bf02adeb33
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ fn send_response(mut stream: TcpStream, status: u16, body: Body) -> UnitOrBoxedE
|
||||||
let mut response = format!("HTTP/1.1 {}\r\n", status_line);
|
let mut response = format!("HTTP/1.1 {}\r\n", status_line);
|
||||||
|
|
||||||
// Headers
|
// Headers
|
||||||
response.push_str("Server: luciders/0.1.0\r\n");
|
response.push_str("Server: luciders\r\n");
|
||||||
response.push_str("Cache-Control: immutable, public, max-age=604800\r\n");
|
response.push_str("Cache-Control: immutable, public, max-age=604800\r\n");
|
||||||
// CORS
|
// CORS
|
||||||
response.push_str("Access-Control-Allow-Origin: *\r\n");
|
response.push_str("Access-Control-Allow-Origin: *\r\n");
|
||||||
|
|
Loading…
Reference in a new issue