It looks like my headers include the underscore character '_' and I get the following error
"Error in parse headers(headers) : header contains invalid character."
After modifying parse_headers.cpp:
bool validate_header_name(const std::string& x) {
auto check = [&](char c) { return std::isalpha(c) || c == '-' || c == '_'; };
return std::all_of(x.begin(), x.end(), check);
}
I no longer get that error.
It looks like my headers include the underscore character '_' and I get the following error
"Error in parse headers(headers) : header contains invalid character."After modifying parse_headers.cpp:
I no longer get that error.