mirror of
https://github.com/3lswear/webserv.git
synced 2025-10-28 21:07:59 +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")
|
else if (type == "pdf")
|
||||||
return ("application/pdf");
|
return ("application/pdf");
|
||||||
else
|
else
|
||||||
return ("text/plain");
|
return ("application/octet-stream");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user