wip DELETE, POST (no cgi, need testing)

This commit is contained in:
LuckyLaszlo
2022-08-04 20:56:37 +02:00
parent a9ada4cb28
commit 3102253092
5 changed files with 133 additions and 12 deletions

View File

@@ -80,8 +80,11 @@ void Webserv::_listen(int socket_fd, unsigned int max_connections)
void Webserv::_init_http_status_map()
{
_http_status[200] = S200;
_http_status[201] = S201;
_http_status[204] = S204;
_http_status[400] = S400;
_http_status[403] = S403;
_http_status[404] = S404;
_http_status[405] = S405;
_http_status[413] = S413;