kinda successful merge, weird tho, didn't go as smoothly with VScode as usual...

This commit is contained in:
Me
2022-08-05 22:25:11 +02:00
23 changed files with 750 additions and 392 deletions

View File

@@ -8,9 +8,9 @@
# include <cstdlib> // atoi
# include <sys/stat.h> // stat()
# include <iostream> // tmp
# define CR "\r"
# define LF "\n"
# define CRLF CR LF
// enum http_method
// {
@@ -38,5 +38,6 @@ 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);
void replace_all_substr(std::string &str, const std::string &ori_substr, const std::string &new_substr)
#endif