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

@@ -77,13 +77,16 @@ class Webserv
void _process_method(Client *client, ServerConfig &server, LocationConfig &location);
void _insert_status_line(Client *client);
void _error_html_response(Client *client, ServerConfig &server);
void _append_body(Client *client, const char *body, size_t body_size);
void _get(Client *client, ServerConfig &server, LocationConfig &location);
void _get_file(Client *client, const std::string &path);
void _append_body(Client *client, const char *body, size_t body_size);
void _post(Client *client, ServerConfig &server, LocationConfig &location);
void _post_file(Client *client, const std::string &path);
void _delete(Client *client, ServerConfig &server, LocationConfig &location);
void _delete_file(Client *client, const std::string &path);
ServerConfig &_determine_process_server(Client *client);
LocationConfig &_determine_location(ServerConfig &server, std::string &path);