is_cgi function is back and is working
+ in utils added function eval_file_mode(), it returns http errors codes about file
This commit is contained in:
@@ -104,7 +104,8 @@ class Webserv
|
||||
void _delete(Client *client, const std::string &path);
|
||||
void _delete_file(Client *client, const std::string &path);
|
||||
// cgi_script.cpp
|
||||
size_t _cgi_pos(Client *client, std::string &path);
|
||||
bool _is_cgi(Client *client, std::string path);
|
||||
size_t _cgi_pos(Client *client, std::string &path, size_t pos);
|
||||
std::string _exec_cgi(Client *client);
|
||||
char** _set_env(Client *client);
|
||||
char* _dup_env(std::string var, std::string val);
|
||||
|
||||
Reference in New Issue
Block a user