mirror of
https://github.com/3lswear/webserv.git
synced 2025-10-29 13:27:59 +03:00
add Autoindex
This commit is contained in:
@@ -15,6 +15,7 @@ private:
|
||||
std::string _method;
|
||||
std::string _version;
|
||||
std::string _URI;
|
||||
std::string _host;
|
||||
std::string _query;
|
||||
std::string _fileToSend;
|
||||
std::map<std::string, std::string> _headerField;
|
||||
@@ -37,6 +38,10 @@ public:
|
||||
int isDir(std::string);
|
||||
void OpenResponsFile(const char *path);
|
||||
|
||||
std::string ltrim(std::string);
|
||||
std::string rtrim(std::string);
|
||||
std::string trim(std::string);
|
||||
|
||||
int parseStartLine(std::string);
|
||||
int parseHeaderfield(std::string);
|
||||
void printHeaderInfo(void);
|
||||
|
||||
Reference in New Issue
Block a user