ok Location sorting and processing is finally working as expected, still a few things to add like error_pages but will get there soon

This commit is contained in:
Me
2022-08-05 21:46:46 +02:00
parent 9ac14aa1aa
commit f7dc5ccde4
12 changed files with 119 additions and 114 deletions

View File

@@ -6,6 +6,10 @@
# include <string>
# include <sstream>
# include <cstdlib> // atoi
# include <sys/stat.h> // stat()
# include <iostream> // tmp
// enum http_method
@@ -33,6 +37,6 @@ std::string itos(int n);
std::string trim(std::string str, char c);
http_method str_to_http_method(std::string &str);
std::string http_methods_to_str(unsigned int methods);
int path_is_valid(std::string path);
#endif