You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

17 lines
530 B

#include "webserv.hpp"
void debug_block(string name, string content) {
string separator = "|==================================================="
"===========================|\n";
cout << name << separator.substr(name.length(), string::npos) << content
<< "\n"
<< separator;
}
void Client::debug_header(void) {
cout << "Method: " << _method << "\n";
cout << "Uri: " << _uri << "\n";
cout << "Query: " << _query << "\n";
cout << "Host: " << _host << "\n";
cout << "Location: " << _route->getRoot() << "\n";
}