You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: