fix: return octet-stream by default

This commit is contained in:
3lswear
2022-03-04 21:27:24 +03:00
parent 04350cc621
commit 27601b7f62

View File

@@ -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");
} }