added colors, for print_special

+ renamed client's public function parse_request() into parse_request_headers()
This commit is contained in:
hugogogo
2022-08-11 17:46:27 +02:00
parent ad2b5a629a
commit a1fff0f8c2
6 changed files with 35 additions and 20 deletions

View File

@@ -69,7 +69,7 @@ class Client
std::string get_rq_script_info() const;
std::string get_rq_headers(const std::string & key) const;
void parse_request(std::vector<ServerConfig> &servers);
void parse_request_headers(std::vector<ServerConfig> &servers);
void parse_request_body();
void clear();
void clear_request();
@@ -86,7 +86,7 @@ class Client
struct Request _request;
void _parse_request_line();
void _parse_request_headers();
void _parse_request_fields();
void _parse_request_uri( std::string uri );
void _parse_port_hostname(std::string host);