MIME types map for correct Content-type header

+ append body to string cause encoding problem, so added temp buf in Client.
This commit is contained in:
LuckyLaszlo
2022-08-05 04:24:15 +02:00
parent 3102253092
commit e596d8f093
19 changed files with 432 additions and 312 deletions

View File

@@ -13,6 +13,7 @@ Webserv::Webserv()
}
_init_http_status_map();
_init_mime_types_map();
std::signal(SIGPIPE, signal_handler);
std::signal(SIGINT, signal_handler);