mirror of
https://github.com/3lswear/webserv.git
synced 2025-10-28 12:58:00 +03:00
fix: return octet-stream by default
This commit is contained in:
@@ -239,7 +239,7 @@ std::string Response::getContentType(void)
|
||||
else if (type == "pdf")
|
||||
return ("application/pdf");
|
||||
else
|
||||
return ("text/plain");
|
||||
return ("application/octet-stream");
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user