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:
@@ -13,6 +13,7 @@ Webserv::Webserv()
|
||||
}
|
||||
|
||||
_init_http_status_map();
|
||||
_init_mime_types_map();
|
||||
|
||||
std::signal(SIGPIPE, signal_handler);
|
||||
std::signal(SIGINT, signal_handler);
|
||||
|
||||
Reference in New Issue
Block a user