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.

18 lines
530 B

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